mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Add a tracking issue for file_buffered
This commit is contained in:
parent
0999b019f8
commit
458537ebc0
@ -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()?;
|
||||
|
Loading…
Reference in New Issue
Block a user