about summary refs log tree commit diff
path: root/src/liballoc/vec.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-08-13 11:03:11 +0200
committerGitHub <noreply@github.com>2017-08-13 11:03:11 +0200
commitbc6659a8fef000c96665f6ba8d6ddcd1ef89623b (patch)
tree7887050320d236b12a5d5ec4e36eb535108ba922 /src/liballoc/vec.rs
parent9191fe1ef4228ccfa6d573f9546f1e315b433960 (diff)
parent3ab86fbab281ca059731c31fa2aee5d9afc7e6dc (diff)
downloadrust-bc6659a8fef000c96665f6ba8d6ddcd1ef89623b.tar.gz
rust-bc6659a8fef000c96665f6ba8d6ddcd1ef89623b.zip
Rollup merge of #43814 - Eijebong:fix_typos2, r=petrochenkov
Fix some typos

Follow up of #43794

If refined my script a little bit and found some more.
Diffstat (limited to 'src/liballoc/vec.rs')
-rw-r--r--src/liballoc/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs
index 160c0ba2ab0..5f68e59289d 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -374,7 +374,7 @@ impl<T> Vec<T> {
     /// * `capacity` needs to be the capacity that the pointer was allocated with.
     ///
     /// Violating these may cause problems like corrupting the allocator's
-    /// internal datastructures. For example it is **not** safe
+    /// internal data structures. For example it is **not** safe
     /// to build a `Vec<u8>` from a pointer to a C `char` array and a `size_t`.
     ///
     /// The ownership of `ptr` is effectively transferred to the