Skip to content

Commit cf56c1f

Browse files
committed
Indicate BTreeSet in docs is code-like.
1 parent b197e4a commit cf56c1f

File tree

1 file changed

+5
-5
lines changed
  • src/libcollections/btree

1 file changed

+5
-5
lines changed

src/libcollections/btree/set.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,19 @@ pub struct BTreeSet<T> {
7474
map: BTreeMap<T, ()>,
7575
}
7676

77-
/// An iterator over a BTreeSet's items.
77+
/// An iterator over a `BTreeSet`'s items.
7878
#[stable(feature = "rust1", since = "1.0.0")]
7979
pub struct Iter<'a, T: 'a> {
8080
iter: Keys<'a, T, ()>,
8181
}
8282

83-
/// An owning iterator over a BTreeSet's items.
83+
/// An owning iterator over a `BTreeSet`'s items.
8484
#[stable(feature = "rust1", since = "1.0.0")]
8585
pub struct IntoIter<T> {
8686
iter: ::btree_map::IntoIter<T, ()>,
8787
}
8888

89-
/// An iterator over a sub-range of BTreeSet's items.
89+
/// An iterator over a sub-range of `BTreeSet`'s items.
9090
pub struct Range<'a, T: 'a> {
9191
iter: ::btree_map::Range<'a, T, ()>,
9292
}
@@ -120,7 +120,7 @@ pub struct Union<'a, T: 'a> {
120120
}
121121

122122
impl<T: Ord> BTreeSet<T> {
123-
/// Makes a new BTreeSet with a reasonable choice of B.
123+
/// Makes a new `BTreeSet` with a reasonable choice of B.
124124
///
125125
/// # Examples
126126
///
@@ -137,7 +137,7 @@ impl<T: Ord> BTreeSet<T> {
137137
}
138138

139139
impl<T> BTreeSet<T> {
140-
/// Gets an iterator over the BTreeSet's contents.
140+
/// Gets an iterator over the `BTreeSet`'s contents.
141141
///
142142
/// # Examples
143143
///

0 commit comments

Comments
 (0)