We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abcbe54 commit 7f32fdaCopy full SHA for 7f32fda
library/core/src/iter/adapters/peekable.rs
@@ -250,7 +250,7 @@ impl<I: Iterator> Peekable<I> {
250
/// assert_eq!(iter.collect::<Vec<_>>(), vec![&5, &3]);
251
/// ```
252
#[inline]
253
- #[stable(feature = "peekable_peek_mut", since = "1.52.0")]
+ #[stable(feature = "peekable_peek_mut", since = "1.53.0")]
254
pub fn peek_mut(&mut self) -> Option<&mut I::Item> {
255
let iter = &mut self.iter;
256
self.peeked.get_or_insert_with(|| iter.next()).as_mut()
0 commit comments