Skip to content

Commit 084e6e7

Browse files
committed
[std][BTree] Update doc-comment
1 parent c541a2d commit 084e6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/collections/btree/append.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ where
104104
{
105105
type Item = (K, V);
106106

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

0 commit comments

Comments
 (0)