mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Mention allocation errors for open_buffered
This commit is contained in:
parent
a1eceec00b
commit
7b52e6bc47
@ -394,7 +394,8 @@ impl File {
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
/// This function will return an error if `path` does not already exist.
|
||||
/// This function will return an error if `path` does not already exist,
|
||||
/// or if memory allocation fails for the new buffer.
|
||||
/// Other errors may also be returned according to [`OpenOptions::open`].
|
||||
///
|
||||
/// # Examples
|
||||
|
Loading…
Reference in New Issue
Block a user