[std][BTree] Update doc-comment
This commit is contained in:
parent
c541a2da14
commit
084e6e7320
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue