Skip to content

Commit bab6e40

Browse files
committed
Update comment with more specific info
1 parent 23ee31e commit bab6e40

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/i2c.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,8 @@ fn calculate_timing(
275275
an_filter: bool,
276276
dnf: u8,
277277
) -> 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.
278+
// This dependency is not used when `cargo test`ing. More info:
279+
// https://docs.rs/micromath/1.1.1/micromath/index.html#unused-import-warnings-when-linking-std
281280
#[cfg(not(test))]
282281
use micromath::F32Ext as _;
283282

0 commit comments

Comments
 (0)