about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorJonas Hietala <tradet.h@gmail.com>2014-07-27 16:05:53 +0200
committerJonas Hietala <tradet.h@gmail.com>2014-07-27 16:05:53 +0200
commit28d543a40ffa872622025bcb4f112c890ca59760 (patch)
tree013f1061424d94aa3438b6f7687f958bbca4ba81 /src/libstd
parentd114ddac030d6ed63b3076ccc0e7db081c0a9409 (diff)
downloadrust-28d543a40ffa872622025bcb4f112c890ca59760.tar.gz
rust-28d543a40ffa872622025bcb4f112c890ca59760.zip
doc: Correctly onclose code blocks in HashSet
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hashmap.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/collections/hashmap.rs b/src/libstd/collections/hashmap.rs
index e825dc3a8b5..8b6e6d61842 100644
--- a/src/libstd/collections/hashmap.rs
+++ b/src/libstd/collections/hashmap.rs
@@ -1850,6 +1850,7 @@ impl<T: Hash + Eq> HashSet<T, RandomSipHasher> {
     ///
     /// # Example
     ///
+    /// ```
     /// use std::collections::HashSet;
     /// let mut set: HashSet<int> = HashSet::new();
     /// ```
@@ -1863,6 +1864,7 @@ impl<T: Hash + Eq> HashSet<T, RandomSipHasher> {
     ///
     /// # Example
     ///
+    /// ```
     /// use std::collections::HashSet;
     /// let mut set: HashSet<int> = HashSet::with_capacity(10);
     /// ```
@@ -1920,6 +1922,7 @@ impl<T: Eq + Hash<S>, S, H: Hasher<S>> HashSet<T, H> {
     ///
     /// # Example
     ///
+    /// ```
     /// use std::collections::HashSet;
     /// let mut set: HashSet<int> = HashSet::new();
     /// set.reserve(10);