Skip to content

Commit

Permalink
doc(buf): update OwnedIterator doc
Browse files Browse the repository at this point in the history
  • Loading branch information
George-Miao committed Jul 15, 2024
1 parent d56c792 commit bf327fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compio-buf/src/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use crate::*;
pub trait OwnedIterator: IntoInner + Sized {
/// Get the next iterator.
///
/// If current `Self` is the last one, return `Err(Self)` with `Self` being
/// untouched.
/// If current `Self` is the last one, return `Err(Self::Inner)` to give the
/// inner back.
fn next(self) -> Result<Self, Self::Inner>;
}

Expand Down

0 comments on commit bf327fe

Please sign in to comment.