From 084e6e7320342b603834af97d4e1f521c249fc2f Mon Sep 17 00:00:00 2001 From: tinnamchoi Date: Wed, 20 Aug 2025 13:52:42 +0800 Subject: [PATCH] [std][BTree] Update doc-comment --- library/alloc/src/collections/btree/append.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/collections/btree/append.rs b/library/alloc/src/collections/btree/append.rs index 3569e6551dc0..66ea22e75247 100644 --- a/library/alloc/src/collections/btree/append.rs +++ b/library/alloc/src/collections/btree/append.rs @@ -104,7 +104,7 @@ impl Iterator for MergeIter { 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) {