diff options
Diffstat (limited to 'src/buf/uninit_slice.rs')
-rw-r--r-- | src/buf/uninit_slice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buf/uninit_slice.rs b/src/buf/uninit_slice.rs index c5d86e8..b0eeed4 100644 --- a/src/buf/uninit_slice.rs +++ b/src/buf/uninit_slice.rs @@ -168,7 +168,7 @@ impl UninitSlice { /// /// The caller **must not** read from the referenced memory and **must not** write /// **uninitialized** bytes to the slice either. This is because `BufMut` implementation - /// that created the `UninitSlice` knows which parts are initialized. Writing uninitalized + /// that created the `UninitSlice` knows which parts are initialized. Writing uninitialized /// bytes to the slice may cause the `BufMut` to read those bytes and trigger undefined /// behavior. /// |