Minor refactoring #539
Annotations
2 warnings
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-4cef7ab582e64247/out/ardupilotmega.rs#L1
warning: this looks like an `else if` but the `else` is missing
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-4cef7ab582e64247/out/ardupilotmega.rs:1:772345
|
1 | ...es, but got {})" , Self :: ENCODED_LEN , __tmp . remaining () ,) } if matches ! (version , MavlinkVersion :: V2) { let len = __tmp . l...
| ^
|
= note: to remove this lint, add the missing `else` or add a new line before the second `if`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting
= note: `#[warn(clippy::suspicious_else_formatting)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-4cef7ab582e64247/out/ardupilotmega.rs#L1
warning: this looks like an `else if` but the `else` is missing
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-4cef7ab582e64247/out/ardupilotmega.rs:1:911747
|
1 | ...es, but got {})" , Self :: ENCODED_LEN , __tmp . remaining () ,) } if matches ! (version , MavlinkVersion :: V2) { let len = __tmp . l...
| ^
|
= note: to remove this lint, add the missing `else` or add a new line before the second `if`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting
|
Loading