mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-14 00:27:12 +00:00
34fb39c976
```bash cd leptos/leptos_macro/example cargo clippy ``` warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:41:20 | 41 | fn TestMutCallback<'a, F>(mut callback: F, value: &'a str) -> impl IntoView | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 41 - fn TestMutCallback<'a, F>(mut callback: F, value: &'a str) -> impl IntoView 41 + fn TestMutCallback<F>(mut callback: F, value: &str) -> impl IntoView | warning: `example` (lib) generated 1 warning (run `cargo clippy --fix --lib -p example` to apply 1 suggestion) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |