File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use super::boxed::Box;
1717use core:: ops:: Drop ;
1818use core:: cmp;
1919
20- /// A low-level utility for more ergonomically allocating, reallocating, and deallocating a
20+ /// A low-level utility for more ergonomically allocating, reallocating, and deallocating
2121/// a buffer of memory on the heap without having to worry about all the corner cases
2222/// involved. This type is excellent for building your own data structures like Vec and VecDeque.
2323/// In particular:
@@ -534,8 +534,8 @@ impl<T> RawVec<T> {
534534 /// Converts the entire buffer into `Box<[T]>`.
535535 ///
536536 /// While it is not *strictly* Undefined Behavior to call
537- /// this procedure while some of the RawVec is unintialized ,
538- /// it cetainly makes it trivial to trigger it.
537+ /// this procedure while some of the RawVec is uninitialized ,
538+ /// it certainly makes it trivial to trigger it.
539539 ///
540540 /// Note that this will correctly reconstitute any `cap` changes
541541 /// that may have been performed. (see description of type for details)
You can’t perform that action at this time.
0 commit comments