fix: suggestions for flathub release #11
Annotations
4 warnings
clippy:
src/main.rs#L235
warning: manual implementation of an assign operation
--> src/pages/color_schemes.rs:235:17
|
235 | self.offset = self.offset + self.limit;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `self.offset += self.limit`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
= note: `#[warn(clippy::assign_op_pattern)]` on by default
|
clippy:
src/main.rs#L236
warning: using `clone` on type `usize` which implements the `Copy` trait
--> src/pages/color_schemes.rs:236:29
|
236 | let limit = self.limit.clone();
| ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.limit`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
clippy:
src/main.rs#L237
warning: using `clone` on type `usize` which implements the `Copy` trait
--> src/pages/color_schemes.rs:237:30
|
237 | let offset = self.offset.clone();
| ^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.offset`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
clippy
warning: 3 warnings emitted
|
Loading