[std][BTree] Update doc-comment

This commit is contained in:
tinnamchoi 2025-08-20 13:52:42 +08:00
parent c541a2da14
commit 084e6e7320
No known key found for this signature in database

View file

@ -104,7 +104,7 @@ where
{
type Item = (K, V);
/// If two keys are equal, returns the key-value pair from the right source.
/// If two keys are equal, returns the key from the left and the value from the right.
fn next(&mut self) -> Option<(K, V)> {
let (a_next, b_next) = self.0.nexts(|a: &(K, V), b: &(K, V)| K::cmp(&a.0, &b.0));
match (a_next, b_next) {