We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b22722 commit 050d65bCopy full SHA for 050d65b
src/buf/iter.rs
@@ -2,8 +2,6 @@ use crate::Buf;
2
3
/// Iterator over the bytes contained by the buffer.
4
///
5
-/// This struct is created by the [`iter`] method on [`Buf`].
6
-///
7
/// # Examples
8
9
/// Basic usage:
@@ -43,7 +41,7 @@ impl<T> IntoIter<T> {
43
41
/// assert_eq!(iter.next(), Some(b'c'));
44
42
/// assert_eq!(iter.next(), None);
45
/// ```
46
- pub(crate) fn new(inner: T) -> IntoIter<T> {
+ pub fn new(inner: T) -> IntoIter<T> {
47
IntoIter { inner }
48
}
49
0 commit comments