diff options
| author | Remi Rampin <remirampin@gmail.com> | 2015-06-28 17:23:53 -0400 |
|---|---|---|
| committer | Remi Rampin <remirampin@gmail.com> | 2015-06-28 17:26:31 -0400 |
| commit | 78ec055a148008b6ef9c01ce6fda3c8e6448113d (patch) | |
| tree | 9051912dcb0a37cb566c5cc5a733ce08fb660376 /src/libstd/sys | |
| parent | c1b8bd2d6fd4a00522635112d3f7b28501552a65 (diff) | |
| download | rust-78ec055a148008b6ef9c01ce6fda3c8e6448113d.tar.gz rust-78ec055a148008b6ef9c01ce6fda3c8e6448113d.zip | |
Add `.write(true)` to append and truncate examples
Setting append without write doesn't give you a writeable file. Showing it as an example in the docs is confusing at best. Using truncate on a read-only file is an error on POSIX systems (note however that using create with read-only flags is fine).
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions
