Fixed typos in btree map docs
This commit is contained in:
parent
24ad26db3b
commit
92f45900bb
@ -3302,7 +3302,7 @@ pub fn remove_next(&mut self) -> Option<(K, V)> {
|
||||
Some(kv)
|
||||
}
|
||||
|
||||
/// Removes the precending element from the `BTreeMap`.
|
||||
/// Removes the preceding element from the `BTreeMap`.
|
||||
///
|
||||
/// The element that was removed is returned. The cursor position is
|
||||
/// unchanged (after the removed element).
|
||||
@ -3408,7 +3408,7 @@ pub fn remove_next(&mut self) -> Option<(K, V)> {
|
||||
self.inner.remove_next()
|
||||
}
|
||||
|
||||
/// Removes the precending element from the `BTreeMap`.
|
||||
/// Removes the preceding element from the `BTreeMap`.
|
||||
///
|
||||
/// The element that was removed is returned. The cursor position is
|
||||
/// unchanged (after the removed element).
|
||||
|
@ -2298,7 +2298,7 @@ pub fn remove_next(&mut self) -> Option<T> {
|
||||
self.inner.remove_next().map(|(k, _)| k)
|
||||
}
|
||||
|
||||
/// Removes the precending element from the `BTreeSet`.
|
||||
/// Removes the preceding element from the `BTreeSet`.
|
||||
///
|
||||
/// The element that was removed is returned. The cursor position is
|
||||
/// unchanged (after the removed element).
|
||||
@ -2384,7 +2384,7 @@ pub fn remove_next(&mut self) -> Option<T> {
|
||||
self.inner.remove_next().map(|(k, _)| k)
|
||||
}
|
||||
|
||||
/// Removes the precending element from the `BTreeSet`.
|
||||
/// Removes the preceding element from the `BTreeSet`.
|
||||
///
|
||||
/// The element that was removed is returned. The cursor position is
|
||||
/// unchanged (after the removed element).
|
||||
|
Loading…
Reference in New Issue
Block a user