File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ pub trait Can {
1212 /// the transmit buffer.
1313 fn transmit ( & mut self , frame : & Self :: Frame ) -> Result < ( ) , Self :: Error > ;
1414
15- /// Blocks until a frame was received or an error occured .
15+ /// Blocks until a frame was received or an error occurred .
1616 fn receive ( & mut self ) -> Result < Self :: Frame , Self :: Error > ;
1717}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pub trait Can {
1717 ///
1818 /// # Notes for implementers
1919 ///
20- /// * Frames of equal identifier shall be transmited in FIFO fashion when more
20+ /// * Frames of equal identifier shall be transmitted in FIFO fashion when more
2121 /// than one transmit buffer is available.
2222 /// * When replacing pending frames make sure the frame is not in the process of
2323 /// being send to the bus.
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ pub enum ErrorKind {
250250 ModeFault ,
251251 /// Received data does not conform to the peripheral configuration
252252 FrameFormat ,
253- /// An error occured while asserting or deasserting the Chip Select pin.
253+ /// An error occurred while asserting or deasserting the Chip Select pin.
254254 ChipSelectFault ,
255255 /// A different error occurred. The original error may contain more information.
256256 Other ,
@@ -276,7 +276,7 @@ impl core::fmt::Display for ErrorKind {
276276 ) ,
277277 Self :: ChipSelectFault => write ! (
278278 f,
279- "An error occured while asserting or deasserting the Chip Select pin"
279+ "An error occurred while asserting or deasserting the Chip Select pin"
280280 ) ,
281281 Self :: Other => write ! (
282282 f,
You can’t perform that action at this time.
0 commit comments