improv: use llvm18 + mold in flatpak #22
Annotations
1 error and 4 warnings
build
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
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
|