about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-02-19 18:12:13 +0100
committerGitHub <noreply@github.com>2020-02-19 18:12:13 +0100
commita97f354767844680311da5252fe0c81ecfb9ed45 (patch)
treec4d5b190f4ad7427bc2cd5fc971cacc9e10a6f22 /src/libstd/sys/unix/stack_overflow.rs
parent61d3b6dedb1ec1f3e3cbd3d66b1a3453225bc37c (diff)
parentc899dc14011a67b127bf59622cb13b7ff4a11e9a (diff)
downloadrust-a97f354767844680311da5252fe0c81ecfb9ed45.tar.gz
rust-a97f354767844680311da5252fe0c81ecfb9ed45.zip
Rollup merge of #69284 - jumbatm:openoptions-create-doc, r=Dylan-DPC
Reword OpenOptions::{create, create_new} doc.

Closes #69254.

Currently, the doc comment for `fs::OpenOptions::create` doesn't mention its behaviour when opening an existing file, and `fs::OpenOptions::create_new`'s doc comment is worded in a way that doesn't make it clear that it actually _fails_ if the file already exists, not overwrite the existing file with a new one.

This PR addresses addresses this by rewording the doc comments to be more explicit.

r? @GuillaumeGomez
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions