Skip to content

Commit 118244d

Browse files
committed
minor documentation improvements
this also fixes the link in the documentation (`cargo doc` fails otherwise).
1 parent 871d56c commit 118244d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! * You plan on using a single motor without the standby feature: use [`Motor`]
1212
//!
1313
//! ## Optional features
14-
//! * `defmt`: you can enable the `defmt` feature to get a `defmt::debug!` call for every speed change.
14+
//! * `defmt`: you can enable the `defmt` feature to get a `defmt::Format` implementation for all structs & enums in this crate and a `defmt::debug` call for every speed change.
1515
1616
#![forbid(unsafe_code)]
1717
#![forbid(warnings)]
@@ -121,7 +121,7 @@ where
121121
/// Enable standby. This ignores any other setting currently done on the motors and puts them into standby.
122122
///
123123
/// Note that this does not change any commands on the motors, i.e. the PWM signal will continue
124-
/// and once [`disable_standby`] is called the motor will pick up where it left off (unless the command was changed in-between).
124+
/// and once [`Tb6612fng::disable_standby`] is called the motor will pick up where it left off (unless the command was changed in-between).
125125
pub fn enable_standby(&mut self) {
126126
self.standby.set_low().ok();
127127
}

0 commit comments

Comments
 (0)