Skip to content

Documentation for MAV_CMD variants #1026

Documentation for MAV_CMD variants

Documentation for MAV_CMD variants #1026

Triggered via pull request December 2, 2025 22:12
@pv42pv42
synchronize #437
pv42:doc_params
Status Success
Total duration 6m 35s
Artifacts

test.yml

on: pull_request
Matrix: internal-tests
Matrix: msrv
test-embedded-size
35s
test-embedded-size
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
called `unwrap` on `self.default` after checking its variant with `is_some`: mavlink-bindgen/src/parser.rs#L777
warning: called `unwrap` on `self.default` after checking its variant with `is_some` --> mavlink-bindgen/src/parser.rs:777:42 | 776 | if self.reserved && self.default.is_some() { | ---------------------- the check is happening here 777 | format!("Reserved (use {})", self.default.unwrap()) | ^^^^^^^^^^^^^^^^^^^^^ | = help: try using `match` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
called `unwrap` on `enum_entry.value` after checking its variant with `is_none`: mavlink-bindgen/src/parser.rs#L578
warning: called `unwrap` on `enum_entry.value` after checking its variant with `is_none` --> mavlink-bindgen/src/parser.rs:578:37 | 574 | if enum_entry.value.is_none() { | ----------------------------- help: try: `if let Some(<item>) = enum_entry.value` ... 578 | let tmp_value = enum_entry.value.unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap = note: `#[warn(clippy::unnecessary_unwrap)]` on by default