Cleanups in preposition matching in command parsing #16
Annotations
4 warnings
style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
style
Unexpected input(s) 'dprint-version', valid inputs are ['entryPoint', 'args']
|
redundant closure:
crates/kernel/src/tasks/command_parse.rs#L47
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
|
useless conversion to the same type: `bytes::Bytes`:
crates/db-relbox/src/rel_transaction.rs#L203
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
|