Skip to content

Update to modern Tokio, add an Orbits sample, and build a simulator #17

Update to modern Tokio, add an Orbits sample, and build a simulator

Update to modern Tokio, add an Orbits sample, and build a simulator #17

GitHub Actions / clippy succeeded Feb 1, 2024 in 1s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check warning on line 137 in src/protocol.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

question mark operator is useless here

warning: question mark operator is useless here
   --> src/protocol.rs:137:9
    |
137 |         Ok(self.trim_matches('"').parse()?)
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing question mark and `Ok()`: `self.trim_matches('"').parse()`
    |
    = 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