about summary refs log tree commit diff
path: root/src/libcollections/vec_deque.rs
diff options
context:
space:
mode:
authorEsption <esption@gmail.com>2015-07-08 21:17:13 -0500
committerEsption <esption@gmail.com>2015-07-08 21:17:13 -0500
commitdad8cd19d332e482e0c494600db5da596240f572 (patch)
tree33492458cae11f159d944c9220ab7fc67fcc2fdc /src/libcollections/vec_deque.rs
parent492f33a267d6d99d573b9e0558c25be6e1d03416 (diff)
downloadrust-dad8cd19d332e482e0c494600db5da596240f572.tar.gz
rust-dad8cd19d332e482e0c494600db5da596240f572.zip
'iff' for docs to 'if and only if'
Diffstat (limited to 'src/libcollections/vec_deque.rs')
-rw-r--r--src/libcollections/vec_deque.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec_deque.rs b/src/libcollections/vec_deque.rs
index 132a796d567..117b3544f02 100644
--- a/src/libcollections/vec_deque.rs
+++ b/src/libcollections/vec_deque.rs
@@ -108,7 +108,7 @@ impl<T> VecDeque<T> {
         ptr::write(self.ptr.offset(off as isize), t);
     }
 
-    /// Returns true if the buffer is at capacity
+    /// Returns true if and only if the buffer is at capacity
     #[inline]
     fn is_full(&self) -> bool { self.cap - self.len() == 1 }