docs: Add Flathub badge to README #25
Annotations
1 error and 8 warnings
build
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
build
clippy-action doesn't have permissions to create Check Runs, disabling!
|
build
Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run
|
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
|