diff options
| author | bors <bors@rust-lang.org> | 2020-03-08 15:54:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-03-08 15:54:09 +0000 |
| commit | 564758c4c329e89722454dd2fbb35f1ac0b8b47c (patch) | |
| tree | a4418e2d169ea63280e3c6cc634912d503332274 /src/libstd | |
| parent | 1d5241c96208ca7d925442b1a5fa45ad18717a6f (diff) | |
| parent | 06689e212fbd95558c778ce753208223276bcac9 (diff) | |
Auto merge of #69829 - Centril:rollup-lm5lzsq, r=Centril
Rollup of 7 pull requests Successful merges: - #69631 (remove non-sysroot sources from rust-src component) - #69646 (Miri visitor: detect primitive types based on type, not layout (also, more tests)) - #69651 (Try to ensure usize marker does not get merged) - #69668 (More documentation and simplification of BTreeMap's internals) - #69771 (Cleanup E0390 explanation) - #69777 (Add missing ` in doc for File::with_options()) - #69812 (Refactorings to method/probe.rs and CrateId) Failed merges: r? @ghost
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 09be3f13050..e20fcfafa22 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -407,7 +407,7 @@ impl File { /// /// It is equivalent to `OpenOptions::new()` but allows you to write more /// readable code. Instead of `OpenOptions::new().read(true).open("foo.txt")` - /// you can write `File::with_options().read(true).open("foo.txt"). This + /// you can write `File::with_options().read(true).open("foo.txt")`. This /// also avoids the need to import `OpenOptions`. /// /// See the [`OpenOptions::new`] function for more details. |
