mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-27 12:29:41 +00:00
![]() This disabled about 70 clippy warnings like this one: ``` warning: redundant clone --> target\debug\build\energy-monitor-7b0492feb1633656\out\desktop_window.rs:44279:37 | 44279 | (if (((r#state . clone ()) . r#previous_state as f64) == (1f64 as f64)) { | ^^^^^^^^^^^ help: remove this | note: cloned value is neither consumed nor mutated --> target\debug\build\energy-monitor-7b0492feb1633656\out\desktop_window.rs:44279:28 | 44279 | (if (((r#state . clone ()) . r#previous_state as f64) == (1f64 as f64)) { | ^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone ``` |
||
---|---|---|
.. | ||
cpp.rs | ||
rust.rs |