Skip to content

Commit bf327fe

Browse files
committed
doc(buf): update OwnedIterator doc
1 parent d56c792 commit bf327fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compio-buf/src/iter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use crate::*;
44
pub trait OwnedIterator: IntoInner + Sized {
55
/// Get the next iterator.
66
///
7-
/// If current `Self` is the last one, return `Err(Self)` with `Self` being
8-
/// untouched.
7+
/// If current `Self` is the last one, return `Err(Self::Inner)` to give the
8+
/// inner back.
99
fn next(self) -> Result<Self, Self::Inner>;
1010
}
1111

0 commit comments

Comments
 (0)