about summary refs log tree commit diff
path: root/src/liballoc/raw_vec.rs
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2018-11-12 13:05:20 -0500
committerAndy Russell <arussell123@gmail.com>2018-11-13 14:45:31 -0500
commit4e35cbb22eceac145a6f794cde869b3684e0b1d5 (patch)
treeecd0cb5a9d4d5fd320029b88881c4c786b27513b /src/liballoc/raw_vec.rs
parent0195812aeafeecaa8760a4ddceae187472db8fe6 (diff)
downloadrust-4e35cbb22eceac145a6f794cde869b3684e0b1d5.tar.gz
rust-4e35cbb22eceac145a6f794cde869b3684e0b1d5.zip
fix various typos in doc comments
Diffstat (limited to 'src/liballoc/raw_vec.rs')
-rw-r--r--src/liballoc/raw_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/raw_vec.rs b/src/liballoc/raw_vec.rs
index 837770feece..e87bf78561c 100644
--- a/src/liballoc/raw_vec.rs
+++ b/src/liballoc/raw_vec.rs
@@ -44,7 +44,7 @@ use boxed::Box;
 /// This enables you to use capacity growing logic catch the overflows in your length
 /// that might occur with zero-sized types.
 ///
-/// However this means that you need to be careful when roundtripping this type
+/// However this means that you need to be careful when round-tripping this type
 /// with a `Box<[T]>`: `cap()` won't yield the len. However `with_capacity`,
 /// `shrink_to_fit`, and `from_box` will actually set RawVec's private capacity
 /// field. This allows zero-sized types to not be special-cased by consumers of