about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-06-16 15:08:45 +0200
committerGitHub <noreply@github.com>2020-06-16 15:08:45 +0200
commit759547b210ddacc2c0c6df6d86fb9306fb27a660 (patch)
tree84994023048a135e1ef3b23a1017dad602a219a1
parent66a1da38d0d8a8ae1d6667c30126d19ab545ea83 (diff)
parent71c54db3dc7110861b6bf072ab823626d1eed242 (diff)
downloadrust-759547b210ddacc2c0c6df6d86fb9306fb27a660.tar.gz
rust-759547b210ddacc2c0c6df6d86fb9306fb27a660.zip
Rollup merge of #73381 - ratijas:fix-typo-std-mem, r=jonas-schievink
Fix typo in docs of std::mem
-rw-r--r--src/libcore/mem/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/mem/mod.rs b/src/libcore/mem/mod.rs
index d1f5cb44913..8bce980cadd 100644
--- a/src/libcore/mem/mod.rs
+++ b/src/libcore/mem/mod.rs
@@ -129,7 +129,7 @@ pub use crate::intrinsics::transmute;
 /// erring on the side of (double-)dropping.
 ///
 /// Also, `ManuallyDrop` prevents us from having to "touch" `v` after transferring the
-/// ownership to `s` - the final step of interacting with `v` to dispoe of it without
+/// ownership to `s` — the final step of interacting with `v` to dispose of it without
 /// running its destructor is entirely avoided.
 ///
 /// [drop]: fn.drop.html