Skip to content

Commit 5521dad

Browse files
committed
Update for review comments.
1 parent b5cddd9 commit 5521dad

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
## Rust 2018
1616

1717
- [Rust 2018](rust-2018/index.md)
18+
- [2018-Specific Changes](rust-2018/edition-changes.md)
1819
- [Module system](rust-2018/module-system/index.md)
1920
- [Raw identifiers](rust-2018/module-system/raw-identifiers.md)
2021
- [Path clarity](rust-2018/module-system/path-clarity.md)
@@ -84,4 +85,3 @@
8485
- [MSVC toolchain support](rust-2018/platform-and-target-support/msvc-toolchain-support.md)
8586
- [MUSL support for fully static binaries](rust-2018/platform-and-target-support/musl-support-for-fully-static-binaries.md)
8687
- [`cdylib` crates for C interoperability](rust-2018/platform-and-target-support/cdylib-crates-for-c-interoperability.md)
87-
- [2018-Specific Changes](rust-2018/edition-changes.md)

src/rust-2018/edition-changes.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The following is a summary of changes that only apply to code compiled with
44
the 2018 edition compared to the 2015 edition.
55

66
## Rust
7-
- [Non-lexical lifetimes].
7+
- [Non-lexical lifetimes] (future inclusion planned for 2015 edition)
88
- [At most once] `?` macro repetition operator.
99
- [Path changes]:
1010
- `use` declarations must begin with:
@@ -14,7 +14,8 @@ the 2018 edition compared to the 2015 edition.
1414
- An external crate name.
1515
- `::` – must be followed by an external crate name. This is required
1616
if an external crate has the same name as an in-scope item, to catch
17-
possible ambiguities with future module changes.
17+
possible ambiguities with [uniform paths] (which is planned for
18+
inclusion soon [#55618]).
1819
- Paths in `pub(in path)` visibility modifiers must start with `crate`,
1920
`self`, or `super`.
2021
- [Anonymous trait function parameters] are not allowed.
@@ -34,6 +35,7 @@ the 2018 edition compared to the 2015 edition.
3435
- `cargo install` for the current directory is no longer allowed, you must
3536
specify `cargo install --path .` to install the current package.
3637

38+
[#55618]: https://github.com/rust-lang/rust/issues/55618
3739
[Anonymous trait function parameters]: rust-2018/trait-system/no-anon-params.html
3840
[At most once]: rust-2018/macros/at-most-once.html
3941
[Non-lexical lifetimes]: rust-2018/ownership-and-lifetimes/non-lexical-lifetimes.html
@@ -44,4 +46,5 @@ the 2018 edition compared to the 2015 edition.
4446
[reserved keywords]: https://doc.rust-lang.org/reference/keywords.html#reserved-keywords
4547
[strict keyword]: https://doc.rust-lang.org/reference/keywords.html#strict-keywords
4648
[tyvar_behind_raw_pointer]: https://github.com/rust-lang/rust/issues/46906
49+
[uniform paths]: rust-2018/module-system/path-clarity.html#uniform-paths
4750
[weak keyword]: https://doc.rust-lang.org/reference/keywords.html#weak-keywords

0 commit comments

Comments
 (0)