Skip to content

Commit 1532193

Browse files
authored
Fix typo in buffer.rs (#1386)
1 parent a5acccc commit 1532193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/buffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use core::slice;
1515
/// | If you pass a… | You get back a… |
1616
/// | ------------------------ | --------------- |
1717
/// | `&mut [u8]` | `usize`, indicating the number of elements initialized. |
18-
/// | `&mut [MaybeUninit<u8>]` | `(&mut [u8], &[mut MaybeUninit<u8>])`, holding the initialized and uninitialized subslices. |
18+
/// | `&mut [MaybeUninit<u8>]` | `(&mut [u8], &mut [MaybeUninit<u8>])`, holding the initialized and uninitialized subslices. |
1919
/// | [`SpareCapacity`] | `usize`, indicating the number of elements initialized. And the `Vec` is extended. |
2020
///
2121
/// # Examples

0 commit comments

Comments
 (0)