code: Fix warnings #508
clippy results
9 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 9 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b 2023-12-04)
Annotations
Check warning on line 228 in src/transit.rs
github-actions / clippy results
unneeded sub `cfg` when there is no condition
warning: unneeded sub `cfg` when there is no condition
--> src/transit.rs:228:23
|
228 | #[cfg(all())]
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
Check warning on line 203 in src/transit.rs
github-actions / clippy results
unneeded sub `cfg` when there is no condition
warning: unneeded sub `cfg` when there is no condition
--> src/transit.rs:203:15
|
203 | #[cfg(all())]
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
Check warning on line 179 in src/transit.rs
github-actions / clippy results
unneeded sub `cfg` when there is no condition
warning: unneeded sub `cfg` when there is no condition
--> src/transit.rs:179:15
|
179 | #[cfg(all())]
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
Check warning on line 170 in src/transit.rs
github-actions / clippy results
unneeded sub `cfg` when there is no condition
warning: unneeded sub `cfg` when there is no condition
--> src/transit.rs:170:11
|
170 | #[cfg(all())]
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
Check warning on line 158 in src/transit.rs
github-actions / clippy results
unneeded sub `cfg` when there is no condition
warning: unneeded sub `cfg` when there is no condition
--> src/transit.rs:158:15
|
158 | #[cfg(all())]
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
Check warning on line 143 in src/transit.rs
github-actions / clippy results
unneeded sub `cfg` when there is no condition
warning: unneeded sub `cfg` when there is no condition
--> src/transit.rs:143:15
|
143 | #[cfg(all())]
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
Check warning on line 130 in src/transit.rs
github-actions / clippy results
unneeded sub `cfg` when there is no condition
warning: unneeded sub `cfg` when there is no condition
--> src/transit.rs:130:15
|
130 | #[cfg(all())]
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
Check warning on line 121 in src/transit.rs
github-actions / clippy results
unneeded sub `cfg` when there is no condition
warning: unneeded sub `cfg` when there is no condition
--> src/transit.rs:121:11
|
121 | #[cfg(all())]
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
Check warning on line 735 in src/core.rs
github-actions / clippy results
unneeded sub `cfg` when there is no condition
warning: unneeded sub `cfg` when there is no condition
--> src/core.rs:735:11
|
735 | #[cfg(all())]
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
= note: `#[warn(clippy::non_minimal_cfg)]` on by default