@@ -285,7 +285,7 @@ pub trait SpiBusRead<Word: Copy = u8>: SpiBusFlush {
285
285
/// typically `0x00`, `0xFF`, or configurable.
286
286
///
287
287
/// 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 .
289
289
fn read ( & mut self , words : & mut [ Word ] ) -> Result < ( ) , Self :: Error > ;
290
290
}
291
291
@@ -300,7 +300,7 @@ pub trait SpiBusWrite<Word: Copy = u8>: SpiBusFlush {
300
300
/// Writes `words` to the slave, ignoring all the incoming words
301
301
///
302
302
/// 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 .
304
304
fn write ( & mut self , words : & [ Word ] ) -> Result < ( ) , Self :: Error > ;
305
305
}
306
306
@@ -326,15 +326,15 @@ pub trait SpiBus<Word: Copy = u8>: SpiBusRead<Word> + SpiBusWrite<Word> {
326
326
/// typically `0x00`, `0xFF`, or configurable.
327
327
///
328
328
/// 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 .
330
330
fn transfer ( & mut self , read : & mut [ Word ] , write : & [ Word ] ) -> Result < ( ) , Self :: Error > ;
331
331
332
332
/// Writes and reads simultaneously. The contents of `words` are
333
333
/// written to the slave, and the received words are stored into the same
334
334
/// `words` buffer, overwriting it.
335
335
///
336
336
/// 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 .
338
338
fn transfer_in_place ( & mut self , words : & mut [ Word ] ) -> Result < ( ) , Self :: Error > ;
339
339
}
340
340
0 commit comments