Skip to content

Commit 18c9016

Browse files
committed
DOC: Write a short sentence as heading for the rayon methods
1 parent 6d2a806 commit 18c9016

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

src/rayon/map.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,11 @@ impl<'a, K: Sync + Send, V: Send> IndexedParallelIterator for ParIterMut<'a, K,
152152
}
153153

154154

155-
/// Requires crate feature `"rayon"`.
155+
/// Parallel iterator methods and other parallel methods.
156+
///
157+
/// The following methods **require crate feature `"rayon"`**.
158+
///
159+
/// See also the `IntoParallelIterator` implementations.
156160
impl<K, V, S> IndexMap<K, V, S>
157161
where K: Hash + Eq + Sync,
158162
V: Sync,

src/rayon/set.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@ impl<'a, T: Sync> IndexedParallelIterator for ParIter<'a, T> {
113113
}
114114

115115

116-
/// Requires crate feature `"rayon"`.
116+
/// Parallel iterator methods and other parallel methods.
117+
///
118+
/// The following methods **require crate feature `"rayon"`**.
119+
///
120+
/// See also the `IntoParallelIterator` implementations.
117121
impl<T, S> IndexSet<T, S>
118122
where T: Hash + Eq + Sync,
119123
S: BuildHasher + Sync,
@@ -401,7 +405,9 @@ impl<'a, T, S1, S2> ParallelIterator for ParUnion<'a, T, S1, S2>
401405
}
402406

403407

404-
/// Requires crate feature `"rayon"`.
408+
/// Parallel sorting methods.
409+
///
410+
/// The following methods **require crate feature `"rayon"`**.
405411
impl<T, S> IndexSet<T, S>
406412
where T: Hash + Eq + Send,
407413
S: BuildHasher + Send,

0 commit comments

Comments
 (0)