WIP: moving API in separate mod. #536
GitHub Actions / clippy
failed
Aug 27, 2024 in 1s
clippy
3 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 3 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.1 (3f5fd8dd4 2024-08-06)
- cargo 1.80.1 (376290515 2024-07-16)
- clippy 0.1.80 (3f5fd8d 2024-08-06)
Annotations
Check failure on line 128 in src/commands/edge_app/app.rs
github-actions / clippy
question mark operator is useless here
error: question mark operator is useless here
--> src/commands/edge_app/app.rs:128:9
|
128 | Ok(self.api.list_apps()?)
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing question mark and `Ok()`: `self.api.list_apps()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
= note: `-D clippy::needless-question-mark` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_question_mark)]`
Check failure on line 22 in src/commands/edge_app/mod.rs
github-actions / clippy
redundant field names in struct initialization
error: redundant field names in struct initialization
--> src/commands/edge_app/mod.rs:22:26
|
22 | Self { api: Api{ authentication: authentication } }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `authentication`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-D clippy::redundant-field-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
Check failure on line 14 in src/commands/edge_app/mod.rs
github-actions / clippy
unused imports: `Deserialize` and `Serialize`
error: unused imports: `Deserialize` and `Serialize`
--> src/commands/edge_app/mod.rs:14:13
|
14 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
Loading