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 {
12
12
/// the transmit buffer.
13
13
fn transmit ( & mut self , frame : & Self :: Frame ) -> Result < ( ) , Self :: Error > ;
14
14
15
- /// Blocks until a frame was received or an error occured .
15
+ /// Blocks until a frame was received or an error occurred .
16
16
fn receive ( & mut self ) -> Result < Self :: Frame , Self :: Error > ;
17
17
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pub trait Can {
17
17
///
18
18
/// # Notes for implementers
19
19
///
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
21
21
/// than one transmit buffer is available.
22
22
/// * When replacing pending frames make sure the frame is not in the process of
23
23
/// being send to the bus.
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ pub enum ErrorKind {
250
250
ModeFault ,
251
251
/// Received data does not conform to the peripheral configuration
252
252
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.
254
254
ChipSelectFault ,
255
255
/// A different error occurred. The original error may contain more information.
256
256
Other ,
@@ -276,7 +276,7 @@ impl core::fmt::Display for ErrorKind {
276
276
) ,
277
277
Self :: ChipSelectFault => write ! (
278
278
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"
280
280
) ,
281
281
Self :: Other => write ! (
282
282
f,
You can’t perform that action at this time.
0 commit comments