File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2382,8 +2382,6 @@ pub trait BufRead: Read {
23822382 /// about Ferris from a binary string, skipping the fun fact:
23832383 ///
23842384 /// ```
2385- /// #![feature(bufread_skip_until)]
2386- ///
23872385 /// use std::io::{self, BufRead};
23882386 ///
23892387 /// let mut cursor = io::Cursor::new(b"Ferris\0Likes long walks on the beach\0Crustacean\0");
@@ -2407,7 +2405,7 @@ pub trait BufRead: Read {
24072405 /// assert_eq!(num_bytes, 11);
24082406 /// assert_eq!(animal, b"Crustacean\0");
24092407 /// ```
2410- #[unstable (feature = "bufread_skip_until", issue = "111735 ")]
2408+ #[stable (feature = "bufread_skip_until", since = "CURRENT_RUSTC_VERSION ")]
24112409 fn skip_until(&mut self, byte: u8) -> Result<usize> {
24122410 skip_until(self, byte)
24132411 }
You can’t perform that action at this time.
0 commit comments