Add support for float arguments to fork()
#19
GitHub Actions / clippy
succeeded
Jun 23, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0 (129f3b996 2024-06-10)
- cargo 1.79.0 (ffa9cf99a 2024-06-03)
- clippy 0.1.79 (129f3b9 2024-06-10)
Annotations
Check warning on line 47 in crates/kernel/src/tasks/command_parse.rs
github-actions / clippy
redundant closure
warning: redundant closure
--> crates/kernel/src/tasks/command_parse.rs:47:41
|
47 | _ => find_preposition(repr).map(|p| PrepSpec::Other(p)),
| ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `PrepSpec::Other`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
Check warning on line 203 in crates/db-relbox/src/rel_transaction.rs
github-actions / clippy
useless conversion to the same type: `bytes::Bytes`
warning: useless conversion to the same type: `bytes::Bytes`
--> crates/db-relbox/src/rel_transaction.rs:203:49
|
203 | let domain = Domain::from_bytes(Bytes::from(domain_bytes))
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `Bytes::from()`: `domain_bytes`
|
= 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
Loading