about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2016-08-14 20:29:53 +0300
committerGitHub <noreply@github.com>2016-08-14 20:29:53 +0300
commitbcee2edc54d04a2fcf5ba9e4a4a095bcf9be2bfc (patch)
treed588eca0d692e521aa39ad8f38c320c6d0b168e3 /src
parent43cd345a9efeb4f7e8a75c8c623b00d8e205ac28 (diff)
parent10fce6e2d7eae9ee8aae70aed219fcefbc12f8c8 (diff)
downloadrust-bcee2edc54d04a2fcf5ba9e4a4a095bcf9be2bfc.tar.gz
rust-bcee2edc54d04a2fcf5ba9e4a4a095bcf9be2bfc.zip
Rollup merge of #35661 - IvanUkhov:raw-vec, r=alexcrichton
Fix a couple of typos in RawVec

Hi,

The pull request is to fix a couple of typos in `liballoc/raw_vec.rs`.

Regards,
Ivan
Diffstat (limited to 'src')
-rw-r--r--src/liballoc/raw_vec.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/liballoc/raw_vec.rs b/src/liballoc/raw_vec.rs
index 58c841151c0..cdb70ce5770 100644
--- a/src/liballoc/raw_vec.rs
+++ b/src/liballoc/raw_vec.rs
@@ -17,7 +17,7 @@ use super::boxed::Box;
 use core::ops::Drop;
 use core::cmp;
 
-/// A low-level utility for more ergonomically allocating, reallocating, and deallocating a
+/// A low-level utility for more ergonomically allocating, reallocating, and deallocating
 /// a buffer of memory on the heap without having to worry about all the corner cases
 /// involved. This type is excellent for building your own data structures like Vec and VecDeque.
 /// In particular:
@@ -534,8 +534,8 @@ impl<T> RawVec<T> {
     /// Converts the entire buffer into `Box<[T]>`.
     ///
     /// While it is not *strictly* Undefined Behavior to call
-    /// this procedure while some of the RawVec is unintialized,
-    /// it cetainly makes it trivial to trigger it.
+    /// this procedure while some of the RawVec is uninitialized,
+    /// it certainly makes it trivial to trigger it.
     ///
     /// Note that this will correctly reconstitute any `cap` changes
     /// that may have been performed. (see description of type for details)