add: brand colors #18
Annotations
7 warnings
/home/runner/work/tweaks/tweaks/src/main.rs#L235
manual implementation of an assign operation
|
/home/runner/work/tweaks/tweaks/src/main.rs#L236
using `clone` on type `usize` which implements the `Copy` trait
|
/home/runner/work/tweaks/tweaks/src/main.rs#L237
using `clone` on type `usize` which implements the `Copy` trait
|
manual implementation of an assign operation:
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
|
using `clone` on type `usize` which implements the `Copy` trait:
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
|
using `clone` on type `usize` which implements the `Copy` trait:
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
|
3 warnings emitted
warning: 3 warnings emitted
|