Bump async-trait from 0.1.77 to 0.1.78 (#234) #491
lint.yml
on: push
Check that generated files haven't been modified
27s
Format
4s
Annotations
1 warning
question mark operator is useless here:
bluez-async/src/serde_path.rs#L14
warning: question mark operator is useless here
--> bluez-async/src/serde_path.rs:14:5
|
14 | Ok(Path::new(string).map_err(|e| D::Error::custom(format!("Invalid D-Bus path: {:?}", e)))?)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing question mark and `Ok()`: `Path::new(string).map_err(|e| D::Error::custom(format!("Invalid D-Bus path: {:?}", e)))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
= note: `#[warn(clippy::needless_question_mark)]` on by default
|