1
Fork 0

replace stabilization placeholders

This commit is contained in:
Pietro Albini 2022-09-19 14:54:16 +02:00
parent 72f4923979
commit d0305b3d00
No known key found for this signature in database
GPG key ID: CD76B35F7734769E
8 changed files with 29 additions and 29 deletions

View file

@ -1045,7 +1045,7 @@ pub trait Read {
/// Ok(())
/// }
/// ```
#[stable(feature = "io_read_to_string", since = "CURRENT_RUSTC_VERSION")]
#[stable(feature = "io_read_to_string", since = "1.65.0")]
pub fn read_to_string<R: Read>(mut reader: R) -> Result<String> {
let mut buf = String::new();
reader.read_to_string(&mut buf)?;