about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2022-05-30 16:49:28 -0700
committerGitHub <noreply@github.com>2022-05-30 16:49:28 -0700
commitffd7f5873eda869a4722619596acecda420f643a (patch)
tree2528958473e460ccfe67ea14f0c02b4a1fed8f86
parente7c468dc594c475b886280aa7e56779b279d0dbb (diff)
downloadrust-ffd7f5873eda869a4722619596acecda420f643a.tar.gz
rust-ffd7f5873eda869a4722619596acecda420f643a.zip
Fix typo uniqeness -> uniqueness
-rw-r--r--library/alloc/src/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs
index 9818cb352ca..41f3b1fa3dd 100644
--- a/library/alloc/src/boxed.rs
+++ b/library/alloc/src/boxed.rs
@@ -129,7 +129,7 @@
 //! currently implemented in the compiler.**
 //!
 //! The aliasing rules for `Box<T>` are the same as for `&mut T`. `Box<T>`
-//! asserts uniqeness over its content. Using raw pointers derived from a box
+//! asserts uniqueness over its content. Using raw pointers derived from a box
 //! after that box has been mutated through, moved or borrowed as `&mut T`
 //! is not allowed. For more guidance on working with box from unsafe code, see
 //! [rust-lang/unsafe-code-guidelines#326][ucg#326].