Skip to content

Commit

Permalink
Add a tracking issue for file_buffered
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Sep 24, 2024
1 parent 0999b01 commit 458537e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?;
Expand Down Expand Up @@ -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()?;
Expand Down

0 comments on commit 458537e

Please sign in to comment.