Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/btreemap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1203,19 +1203,6 @@ where
}
}

/// **Deprecated**: use `iter_from_prev_key` instead.
///
/// The name `iter_upper_bound` was misleading — it suggested an inclusive
/// upper bound. In reality, it starts from the largest key strictly less
/// than the given bound.
///
/// The new name, `iter_from_prev_key`, better reflects this behavior and
/// improves code clarity.
#[deprecated(note = "use `iter_from_prev_key` instead")]
pub fn iter_upper_bound(&self, bound: &K) -> Iter<'_, K, V, M> {
self.iter_from_prev_key(bound)
}

/// Returns an iterator over the keys of the map.
pub fn keys(&self) -> KeysIter<'_, K, V, M> {
self.iter_internal().into()
Expand Down
Loading