riot-rs-rt: silence "dead_code" lints when building dummy #813
Annotations
1 warning
clippy:
src/riot-rs-rt/src/lib.rs#L40
warning: this returns a `Result<_, ()>`
--> src/riot-rs-rt/src/lib.rs:40:13
|
40 | pub fn benchmark<F: Fn()>(_iterations: usize, _f: F) -> core::result::Result<usize, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
= note: `#[warn(clippy::result_unit_err)]` on by default
|
Loading