about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-05-28 18:20:24 +0200
committerGitHub <noreply@github.com>2019-05-28 18:20:24 +0200
commit2bf80cf6ca3a9cb516216592e66b589e96839868 (patch)
treea2d95f4350de4e5621e79263ac6e3fb6b435d6be
parentce7689293b84a0309488b4a5d832ed2fa0d8bf0f (diff)
downloadrust-2bf80cf6ca3a9cb516216592e66b589e96839868.tar.gz
rust-2bf80cf6ca3a9cb516216592e66b589e96839868.zip
Update src/libcore/mem.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
-rw-r--r--src/libcore/mem.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs
index 058c01cdf10..40f4354213b 100644
--- a/src/libcore/mem.rs
+++ b/src/libcore/mem.rs
@@ -966,7 +966,7 @@ impl<T: ?Sized> DerefMut for ManuallyDrop<T> {
 ///
 /// The compiler then knows to not make any incorrect assumptions or optimizations on this code.
 ///
-/// You can think of `MaybeUninit<T>` and being a bit like `Option<T>` but without
+/// You can think of `MaybeUninit<T>` as being a bit like `Option<T>` but without
 /// any of the run-time tracking and without any of the safety checks.
 ///
 /// ## out-pointers