Skip to content

Commit e5d2e2d

Browse files
committed
update documentation
1 parent 3478e99 commit e5d2e2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

embedded-io-async/src/impls/slice_mut.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl Write for &mut [u8] {
2626
}
2727
}
2828

29-
/// Write is implemented for `&mut [u8]` by copying into the slice, overwriting
29+
/// Write is implemented for `&mut [MaybeUninit<u8>]` by copying into the slice, initializing & overwriting
3030
/// its data.
3131
///
3232
/// Note that writing updates the slice to point to the yet unwritten part.

embedded-io/src/impls/slice_mut.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl ErrorType for &mut [MaybeUninit<u8>] {
5959
type Error = SliceWriteError;
6060
}
6161

62-
/// Write is implemented for `&mut [MaybeUninit<u8>]` by copying into the slice, overwriting
62+
/// Write is implemented for `&mut [MaybeUninit<u8>]` by copying into the slice, initializing & overwriting
6363
/// its data.
6464
///
6565
/// Note that writing updates the slice to point to the yet unwritten part.

0 commit comments

Comments
 (0)