Skip to content

Commit 6298952

Browse files
committed
Remove MaybeUninit from futures::spi::ReadWriteInPlace
1 parent eecf646 commit 6298952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/futures/spi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub trait ReadWriteInPlace<Word: 'static> {
2929

3030
/// Writes `words` to the slave from the `readwrite` buffer and reads words into the same buffer.
3131
/// This method uses a single `readwrite` buffer.
32-
fn readwrite_inplace<'a>(&'a mut self, readwrite: &'a mut [MaybeUninit<Word>]) -> Self::ReadWriteInPlaceFuture<'a>;
32+
fn readwrite_inplace<'a>(&'a mut self, readwrite: &'a mut [Word]) -> Self::ReadWriteInPlaceFuture<'a>;
3333
}
3434

3535
/// Async write

0 commit comments

Comments
 (0)