Skip to content

Commit 2e2ac6e

Browse files
Merge #370
370: Fix minor typo r=eldruin a=GrantM11235 Co-authored-by: Grant Miller <[email protected]>
2 parents 178f66b + 6f25d92 commit 2e2ac6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/spi/blocking.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ pub trait SpiBusRead<Word: Copy = u8>: SpiBusFlush {
285285
/// typically `0x00`, `0xFF`, or configurable.
286286
///
287287
/// Implementations are allowed to return before the operation is
288-
/// complete. See the [module-level documentation](self) for detials.
288+
/// complete. See the [module-level documentation](self) for details.
289289
fn read(&mut self, words: &mut [Word]) -> Result<(), Self::Error>;
290290
}
291291

@@ -300,7 +300,7 @@ pub trait SpiBusWrite<Word: Copy = u8>: SpiBusFlush {
300300
/// Writes `words` to the slave, ignoring all the incoming words
301301
///
302302
/// Implementations are allowed to return before the operation is
303-
/// complete. See the [module-level documentation](self) for detials.
303+
/// complete. See the [module-level documentation](self) for details.
304304
fn write(&mut self, words: &[Word]) -> Result<(), Self::Error>;
305305
}
306306

@@ -326,15 +326,15 @@ pub trait SpiBus<Word: Copy = u8>: SpiBusRead<Word> + SpiBusWrite<Word> {
326326
/// typically `0x00`, `0xFF`, or configurable.
327327
///
328328
/// Implementations are allowed to return before the operation is
329-
/// complete. See the [module-level documentation](self) for detials.
329+
/// complete. See the [module-level documentation](self) for details.
330330
fn transfer(&mut self, read: &mut [Word], write: &[Word]) -> Result<(), Self::Error>;
331331

332332
/// Writes and reads simultaneously. The contents of `words` are
333333
/// written to the slave, and the received words are stored into the same
334334
/// `words` buffer, overwriting it.
335335
///
336336
/// Implementations are allowed to return before the operation is
337-
/// complete. See the [module-level documentation](self) for detials.
337+
/// complete. See the [module-level documentation](self) for details.
338338
fn transfer_in_place(&mut self, words: &mut [Word]) -> Result<(), Self::Error>;
339339
}
340340

0 commit comments

Comments
 (0)