Skip to content

Commit 28d543a

Browse files
committed
doc: Correctly onclose code blocks in HashSet
1 parent d114dda commit 28d543a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libstd/collections/hashmap.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1850,6 +1850,7 @@ impl<T: Hash + Eq> HashSet<T, RandomSipHasher> {
18501850
///
18511851
/// # Example
18521852
///
1853+
/// ```
18531854
/// use std::collections::HashSet;
18541855
/// let mut set: HashSet<int> = HashSet::new();
18551856
/// ```
@@ -1863,6 +1864,7 @@ impl<T: Hash + Eq> HashSet<T, RandomSipHasher> {
18631864
///
18641865
/// # Example
18651866
///
1867+
/// ```
18661868
/// use std::collections::HashSet;
18671869
/// let mut set: HashSet<int> = HashSet::with_capacity(10);
18681870
/// ```
@@ -1920,6 +1922,7 @@ impl<T: Eq + Hash<S>, S, H: Hasher<S>> HashSet<T, H> {
19201922
///
19211923
/// # Example
19221924
///
1925+
/// ```
19231926
/// use std::collections::HashSet;
19241927
/// let mut set: HashSet<int> = HashSet::new();
19251928
/// set.reserve(10);

0 commit comments

Comments
 (0)