about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-06-18 13:38:10 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-06-18 13:38:10 +0530
commit81024d9931ef63316995294fc41accb641646c4f (patch)
treee5f1cece8c3f2980f99be99d2a0496a5f8da03b9
parent3afc385ae1e25b3747980a1d2652a1fd8c282359 (diff)
parent8e969dee689ecdb588434080a614a11fca0ecde7 (diff)
downloadrust-81024d9931ef63316995294fc41accb641646c4f.tar.gz
rust-81024d9931ef63316995294fc41accb641646c4f.zip
Rollup merge of #26369 - IvanUkhov:collections, r=eddyb
-rw-r--r--src/libstd/collections/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/collections/mod.rs b/src/libstd/collections/mod.rs
index 4781f2b4754..1da3bb7c5b3 100644
--- a/src/libstd/collections/mod.rs
+++ b/src/libstd/collections/mod.rs
@@ -66,7 +66,7 @@
 //! ### Use a `BTreeMap` when:
 //! * You're interested in what the smallest or largest key-value pair is.
 //! * You want to find the largest or smallest key that is smaller or larger
-//!   than something
+//!   than something.
 //! * You want to be able to get all of the entries in order on-demand.
 //! * You want a sorted map.
 //!
@@ -147,7 +147,7 @@
 //! relation to the number of elements in the collection.  VecMap should only be
 //! seriously considered for small keys.
 //!
-//! Note also that BTreeMap's precise preformance depends on the value of B.
+//! Note also that BTreeMap's precise performance depends on the value of B.
 //!
 //! # Correct and Efficient Usage of Collections
 //!
@@ -309,7 +309,7 @@
 //! If a `Vacant(entry)` is yielded, then the key *was not* found. In this case
 //! the only valid operation is to `insert` a value into the entry. When this is
 //! done, the vacant entry is consumed and converted into a mutable reference to
-//! the the value that was inserted. This allows for further manipulation of the
+//! the value that was inserted. This allows for further manipulation of the
 //! value beyond the lifetime of the search itself. This is useful if complex
 //! logic needs to be performed on the value regardless of whether the value was
 //! just inserted.