We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23ee31e commit bab6e40Copy full SHA for bab6e40
src/i2c.rs
@@ -275,9 +275,8 @@ fn calculate_timing(
275
an_filter: bool,
276
dnf: u8,
277
) -> I2cTiming {
278
- // We get an "unused" warning here when running `cargo test`. I haven't
279
- // looked into it, but I suspect that is only used when `std` isn't
280
- // available, which would explain that behavior.
+ // This dependency is not used when `cargo test`ing. More info:
+ // https://docs.rs/micromath/1.1.1/micromath/index.html#unused-import-warnings-when-linking-std
281
#[cfg(not(test))]
282
use micromath::F32Ext as _;
283
0 commit comments