fix: aliens vs predator specify year as there is also an older game n… #682
clippy
8 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 8 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.2 (25ef9e3d8 2024-04-09)
- cargo 1.77.2 (e52e36006 2024-03-26)
- clippy 0.1.77 (25ef9e3 2024-04-09)
Annotations
Check warning on line 59 in crates/lib/src/lib.rs
github-actions / clippy
unused import: `query::*`
warning: unused import: `query::*`
--> crates/lib/src/lib.rs:59:9
|
59 | pub use query::*;
| ^^^^^^^^
Check warning on line 13 in crates/lib/src/protocols/epic/protocol.rs
github-actions / clippy
constants have by default a `'static` lifetime
warning: constants have by default a `'static` lifetime
--> crates/lib/src/protocols/epic/protocol.rs:13:27
|
13 | const EPIC_API_ENDPOINT: &'static str = "https://api.epicgames.dev";
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
= note: `#[warn(clippy::redundant_static_lifetimes)]` on by default
Check warning on line 12 in crates/lib/src/games/definitions.rs
github-actions / clippy
unused import: `crate::protocols::epic::Credentials`
warning: unused import: `crate::protocols::epic::Credentials`
--> crates/lib/src/games/definitions.rs:12:5
|
12 | use crate::protocols::epic::Credentials;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check warning on line 7 in crates/lib/src/games/minecraft/mod.rs
github-actions / clippy
unused import: `protocol::*`
warning: unused import: `protocol::*`
--> crates/lib/src/games/minecraft/mod.rs:7:9
|
7 | pub use protocol::*;
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Check warning on line 59 in crates/lib/src/lib.rs
github-actions / clippy
unused import: `query::*`
warning: unused import: `query::*`
--> crates/lib/src/lib.rs:59:9
|
59 | pub use query::*;
| ^^^^^^^^
Check warning on line 13 in crates/lib/src/protocols/epic/protocol.rs
github-actions / clippy
constants have by default a `'static` lifetime
warning: constants have by default a `'static` lifetime
--> crates/lib/src/protocols/epic/protocol.rs:13:27
|
13 | const EPIC_API_ENDPOINT: &'static str = "https://api.epicgames.dev";
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
= note: `#[warn(clippy::redundant_static_lifetimes)]` on by default
Check warning on line 12 in crates/lib/src/games/definitions.rs
github-actions / clippy
unused import: `crate::protocols::epic::Credentials`
warning: unused import: `crate::protocols::epic::Credentials`
--> crates/lib/src/games/definitions.rs:12:5
|
12 | use crate::protocols::epic::Credentials;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check warning on line 7 in crates/lib/src/games/minecraft/mod.rs
github-actions / clippy
unused import: `protocol::*`
warning: unused import: `protocol::*`
--> crates/lib/src/games/minecraft/mod.rs:7:9
|
7 | pub use protocol::*;
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default