aboutsummaryrefslogtreecommitdiff
path: root/src/buf/uninit_slice.rs
diff options
context:
space:
mode:
authorGravatar mxsm <ljbmxsm@gmail.com> 2023-09-25 16:47:02 +0800
committerGravatar GitHub <noreply@github.com> 2023-09-25 10:47:02 +0200
commita4e16a552bf5bee0b75d549a98551d5ab1b074e4 (patch)
treee05d848579ac323f5ee488661ef4712216a1fcad /src/buf/uninit_slice.rs
parenta14ef4617c1d041cd4b479cd7f5453054b8e639a (diff)
downloadbytes-a4e16a552bf5bee0b75d549a98551d5ab1b074e4.tar.gz
bytes-a4e16a552bf5bee0b75d549a98551d5ab1b074e4.tar.zst
bytes-a4e16a552bf5bee0b75d549a98551d5ab1b074e4.zip
docs: fix some spelling mistakes (#633)
Diffstat (limited to 'src/buf/uninit_slice.rs')
-rw-r--r--src/buf/uninit_slice.rs2
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.
///