1
Fork 0

std: Add a tracking issue for Peekable::is_empty

The listed tracking issue was hooked up to the wrong location by accident.
This commit is contained in:
Alex Crichton 2016-03-07 16:35:09 -08:00
parent aed7ddae8e
commit 083db64d90

View file

@ -3679,7 +3679,7 @@ impl<I: Iterator> Peekable<I> {
/// ///
/// assert_eq!(iter.is_empty(), true); /// assert_eq!(iter.is_empty(), true);
/// ``` /// ```
#[unstable(feature = "peekable_is_empty", issue = "27701")] #[unstable(feature = "peekable_is_empty", issue = "32111")]
#[inline] #[inline]
pub fn is_empty(&mut self) -> bool { pub fn is_empty(&mut self) -> bool {
self.peek().is_none() self.peek().is_none()