Skip to content

Commit d24402b

Browse files
zklapowSh3Rm4n
authored andcommitted
fix doc comment
1 parent 6169729 commit d24402b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/can.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const MAX_EXTENDED_ID: u32 = 0x1FFF_FFFF;
2727
/// Options the CAN bus. This is primarily used to set bus timings, but also controls options like enabling loopback or silent mode for debugging.
2828
/// See http://www.bittiming.can-wiki.info/#bxCAN for generating the timing parameters for different baud rates and clocks.
2929
///
30-
/// Use `CanBitRateOpts::default()` to get 250kbps at 32mhz system clock
30+
/// Use `CanOpts::default()` to get 250kbps at 32mhz system clock
3131
pub struct CanOpts {
3232
pub brp: u16,
3333
pub sjw: u8,

0 commit comments

Comments
 (0)