From 0fd4885c32c4c846cb5c6d257478a12b3dabaa0e Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Thu, 6 Mar 2025 13:18:00 +0100 Subject: [PATCH] Fix typo in buffer.rs --- src/buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer.rs b/src/buffer.rs index 2ff8d583a..4d0eacc0a 100644 --- a/src/buffer.rs +++ b/src/buffer.rs @@ -15,7 +15,7 @@ use core::slice; /// | If you pass a… | You get back a… | /// | ------------------------ | --------------- | /// | `&mut [u8]` | `usize`, indicating the number of elements initialized. | -/// | `&mut [MaybeUninit]` | `(&mut [u8], &[mut MaybeUninit])`, holding the initialized and uninitialized subslices. | +/// | `&mut [MaybeUninit]` | `(&mut [u8], &mut [MaybeUninit])`, holding the initialized and uninitialized subslices. | /// | [`SpareCapacity`] | `usize`, indicating the number of elements initialized. And the `Vec` is extended. | /// /// # Examples