diff --git a/src/libstd/collections/hashmap.rs b/src/libstd/collections/hashmap.rs index e825dc3a8b5fd..8b6e6d61842ae 100644 --- a/src/libstd/collections/hashmap.rs +++ b/src/libstd/collections/hashmap.rs @@ -1850,6 +1850,7 @@ impl HashSet { /// /// # Example /// + /// ``` /// use std::collections::HashSet; /// let mut set: HashSet = HashSet::new(); /// ``` @@ -1863,6 +1864,7 @@ impl HashSet { /// /// # Example /// + /// ``` /// use std::collections::HashSet; /// let mut set: HashSet = HashSet::with_capacity(10); /// ``` @@ -1920,6 +1922,7 @@ impl, S, H: Hasher> HashSet { /// /// # Example /// + /// ``` /// use std::collections::HashSet; /// let mut set: HashSet = HashSet::new(); /// set.reserve(10);