Skip to content

Commit 8871e7a

Browse files
authored
Merge pull request #69 from johnthagen/patch-1
Explicitly mention not passing prepare flag after switching to new edition
2 parents 8ee92aa + 2562e71 commit 8871e7a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/editions/transitioning.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ these lints add this to your `lib.rs` or `main.rs`:
105105
#![warn(rust_2018_idioms)]
106106
```
107107

108-
and then execute:
108+
Note that since you already switched to the new edition in the previous section,
109+
you should no longer pass the `--prepare-for 2018` flag to `cargo fix` because
110+
you are now already on the next edition! Execute:
109111

110112
```shell
111113
$ cargo +nightly fix

0 commit comments

Comments
 (0)