@@ -70,7 +70,7 @@ pub enum Operation<'a, W: 'static + Copy = u8> {
7070 /// Write data out while reading data into the provided buffer
7171 Transfer ( & ' a mut [ W ] , & ' a [ W ] ) ,
7272 /// Write data out while reading data into the provided buffer
73- TransferInplace ( & ' a mut [ W ] ) ,
73+ TransferInPlace ( & ' a mut [ W ] ) ,
7474}
7575
7676/// Blocking read-write SPI
@@ -88,7 +88,7 @@ pub trait ReadWrite<W: Copy = u8>: Read<W> + Write<W> {
8888 /// Writes and reads simultaneously. The contents of `words` are
8989 /// written to the slave, and the received words are stored into the same
9090 /// `words` buffer, overwriting it.
91- fn transfer_inplace ( & mut self , words : & mut [ W ] ) -> Result < ( ) , Self :: Error > ;
91+ fn transfer_in_place ( & mut self , words : & mut [ W ] ) -> Result < ( ) , Self :: Error > ;
9292
9393 /// Execute multiple actions as part of a single SPI transaction
9494 fn batch < ' a > ( & mut self , operations : & mut [ Operation < ' a , W > ] ) -> Result < ( ) , Self :: Error > ;
@@ -99,8 +99,8 @@ impl<T: ReadWrite<W>, W: Copy> ReadWrite<W> for &mut T {
9999 T :: transfer ( self , read, write)
100100 }
101101
102- fn transfer_inplace ( & mut self , words : & mut [ W ] ) -> Result < ( ) , Self :: Error > {
103- T :: transfer_inplace ( self , words)
102+ fn transfer_in_place ( & mut self , words : & mut [ W ] ) -> Result < ( ) , Self :: Error > {
103+ T :: transfer_in_place ( self , words)
104104 }
105105
106106 fn batch < ' a > ( & mut self , operations : & mut [ Operation < ' a , W > ] ) -> Result < ( ) , Self :: Error > {
0 commit comments