diff options
| author | Jonas Hietala <tradet.h@gmail.com> | 2014-07-27 16:05:53 +0200 |
|---|---|---|
| committer | Jonas Hietala <tradet.h@gmail.com> | 2014-07-27 16:05:53 +0200 |
| commit | 28d543a40ffa872622025bcb4f112c890ca59760 (patch) | |
| tree | 013f1061424d94aa3438b6f7687f958bbca4ba81 /src/libstd | |
| parent | d114ddac030d6ed63b3076ccc0e7db081c0a9409 (diff) | |
| download | rust-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.rs | 3 |
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); |
