about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorscottmcm <scottmcm@users.noreply.github.com>2019-06-02 12:14:56 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2019-06-08 22:38:18 -0700
commit8da94ef84921213aa42d9da8b48251503e5ad7be (patch)
tree3ded74c469f45277d7d0ca7799bde26a00db0be1 /src/liballoc
parent1f4a262d85e4a87ebbdded023b2422cd41ce3fef (diff)
downloadrust-8da94ef84921213aa42d9da8b48251503e5ad7be.tar.gz
rust-8da94ef84921213aa42d9da8b48251503e5ad7be.zip
Apply suggestions from code review
Co-Authored-By: Joe ST <joe@fbstj.net>
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/collections/vec_deque.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/collections/vec_deque.rs b/src/liballoc/collections/vec_deque.rs
index 79a36d7248d..329c1437f29 100644
--- a/src/liballoc/collections/vec_deque.rs
+++ b/src/liballoc/collections/vec_deque.rs
@@ -2713,7 +2713,7 @@ impl<T> From<Vec<T>> for VecDeque<T> {
     ///
     /// This avoids reallocating where possible, but the conditions for that are
     /// strict, and subject to change, and so shouldn't be relied upon unless the
-    /// `Vec<T>` came from `From<VecDeque<T>>` has hasn't been reallocated.
+    /// `Vec<T>` came from `From<VecDeque<T>>` and hasn't been reallocated.
     ///
     /// # Examples
     ///