Skip to content

Commit 55d1032

Browse files
committed
RFC 1252 is expanding the OpenOptions structure
1 parent a34c04f commit 55d1032

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

text/0000-open-options.md renamed to text/1252-open-options.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
- Feature Name: expand-open-options
1+
- Feature Name: `expand_open_options`
22
- Start Date: 2015-08-04
3-
- RFC PR:
4-
- Rust Issue:
3+
- RFC PR: [rust-lang/rfcs#1252](https://github.com/rust-lang/rfcs/pull/1252)
4+
- Rust Issue: [rust-lang/rust#30014](https://github.com/rust-lang/rust/issues/30014)
55

66
# Summary
77

@@ -65,7 +65,7 @@ _Implementation detail_: On Windows opening a file in append-mode has one flag
6565
_less_, the right to change existing data is removed. On Unix opening a file in
6666
append-mode has one flag _extra_, that sets the status of the file descriptor to
6767
append-mode. You could say that on Windows write is a superset of append, while
68-
on Unix append is a superset of write.
68+
on Unix append is a superset of write.
6969

7070
Because of this append is treated as a separate access mode in Rust, and if
7171
`.append(true)` is specified than `.write()` is ignored.
@@ -317,7 +317,7 @@ Out op scope.
317317

318318
### Inheritance of file descriptors
319319
Leaking file descriptors to child processes can cause problems and can be a
320-
security vulnerability. See this report by
320+
security vulnerability. See this report by
321321
[Python](https://www.python.org/dev/peps/pep-0446/).
322322

323323
On Windows, child processes do not inherit file descriptors by default (but this

0 commit comments

Comments
 (0)