Add a tracking issue for file_buffered

This commit is contained in:
Josh Stone 2024-09-24 15:06:55 -07:00
parent 0999b019f8
commit 458537ebc0

View File

@ -405,7 +405,7 @@ impl File {
/// Ok(())
/// }
/// ```
#[unstable(feature = "file_buffered", issue = "none")]
#[unstable(feature = "file_buffered", issue = "130804")]
pub fn open_buffered<P: AsRef<Path>>(path: P) -> io::Result<io::BufReader<File>> {
// Allocate the buffer *first* so we don't affect the filesystem otherwise.
let buffer = io::BufReader::<Self>::try_new_buffer()?;
@ -473,7 +473,7 @@ impl File {
/// Ok(())
/// }
/// ```
#[unstable(feature = "file_buffered", issue = "none")]
#[unstable(feature = "file_buffered", issue = "130804")]
pub fn create_buffered<P: AsRef<Path>>(path: P) -> io::Result<io::BufWriter<File>> {
// Allocate the buffer *first* so we don't affect the filesystem otherwise.
let buffer = io::BufWriter::<Self>::try_new_buffer()?;