We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
BufRead::skip_until
1 parent c39f318 commit e08002fCopy full SHA for e08002f
library/std/src/io/mod.rs
@@ -2382,8 +2382,6 @@ pub trait BufRead: Read {
2382
/// about Ferris from a binary string, skipping the fun fact:
2383
///
2384
/// ```
2385
- /// #![feature(bufread_skip_until)]
2386
- ///
2387
/// use std::io::{self, BufRead};
2388
2389
/// let mut cursor = io::Cursor::new(b"Ferris\0Likes long walks on the beach\0Crustacean\0");
@@ -2407,7 +2405,7 @@ pub trait BufRead: Read {
2407
2405
/// assert_eq!(num_bytes, 11);
2408
2406
/// assert_eq!(animal, b"Crustacean\0");
2409
2410
- #[unstable(feature = "bufread_skip_until", issue = "111735")]
+ #[stable(feature = "bufread_skip_until", since = "CURRENT_RUSTC_VERSION")]
2411
fn skip_until(&mut self, byte: u8) -> Result<usize> {
2412
skip_until(self, byte)
2413
}
0 commit comments