Skip to content

Commit e8037ff

Browse files
authored
Merge pull request #52 from eminence/patch-1
Small clarification to edition compatibility
2 parents 2c5cd09 + 2271845 commit e8037ff

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/editions/index.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ This serves different purposes for different people:
2727
When a new edition becomes available in the compiler, crates must explicitly opt
2828
in to it to take full advantage. This opt in enables editions to contain
2929
incompatible changes, like adding a new keyword that might conflict with
30-
identifiers in code, or turning warnings into errors. The Rust compiler can link
31-
crates of any editions together. Edition changes only affect the way the
32-
compiler initially parses the code. Therefore, if you're using Rust 2015, and
30+
identifiers in code, or turning warnings into errors. A Rust compiler will
31+
support all editions that existed prior to the compiler's release, and can link
32+
crates of any supported editions together.
33+
Edition changes only affect the way the compiler initially parses the code.
34+
Therefore, if you're using Rust 2015, and
3335
one of your dependencies uses Rust 2018, it all works just fine. The opposite
3436
situation works as well.
3537

0 commit comments

Comments
 (0)