fix: remove network access from manifest #16
Annotations
2 warnings
you are using an explicit closure for cloning elements:
src/main.rs#L337
warning: you are using an explicit closure for cloning elements
--> src/app.rs:337:41
|
337 | if let Some(data) = self
| _________________________________________^
338 | | .nav
339 | | .data::<Calculation>(entity)
340 | | .map(|data| data.clone())
| |_________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
= note: `#[warn(clippy::map_clone)]` on by default
help: consider calling the dedicated `cloned` method
|
337 ~ if let Some(data) = self
338 + .nav
339 + .data::<Calculation>(entity).cloned()
|
|
1 warning emitted
warning: 1 warning emitted
|