Skip to content

chore: update libcosmic #21

chore: update libcosmic

chore: update libcosmic #21

Triggered via push October 5, 2024 11:29
Status Success
Total duration 4m 10s
Artifacts

push.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
/home/runner/work/tweaks/tweaks/src/main.rs#L307
manual implementation of an assign operation
/home/runner/work/tweaks/tweaks/src/main.rs#L308
using `clone` on type `usize` which implements the `Copy` trait
/home/runner/work/tweaks/tweaks/src/main.rs#L309
using `clone` on type `usize` which implements the `Copy` trait
/home/runner/work/tweaks/tweaks/src/main.rs#L520
explicit call to `.into_iter()` in function argument accepting `IntoIterator`
/home/runner/work/tweaks/tweaks/src/main.rs#L521
explicit call to `.into_iter()` in function argument accepting `IntoIterator`
manual implementation of an assign operation: src/main.rs#L307
warning: manual implementation of an assign operation --> src/app.rs:307:17 | 307 | 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#L308
warning: using `clone` on type `usize` which implements the `Copy` trait --> src/app.rs:308:29 | 308 | 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#L309
warning: using `clone` on type `usize` which implements the `Copy` trait --> src/app.rs:309:30 | 309 | 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
explicit call to `.into_iter()` in function argument accepting `IntoIterator`: src/main.rs#L520
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` --> src/app.rs:520:24 | 520 | .chain(available.into_iter()) | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `available` | note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` --> /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/iter/traits/iterator.rs:484:12 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
explicit call to `.into_iter()` in function argument accepting `IntoIterator`: src/main.rs#L521
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` --> src/app.rs:521:24 | 521 | .chain(show_more_button.into_iter()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `show_more_button` | note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` --> /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/iter/traits/iterator.rs:484:12 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
5 warnings emitted
warning: 5 warnings emitted