Skip to content

Commit a8fb188

Browse files
Update text/0000-edition-2021.md
Co-authored-by: Árni Dagur <[email protected]>
1 parent 1604aaf commit a8fb188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-edition-2021.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The release of Rust 1.0 established ["stability without stagnation"](https://blo
3333

3434
There are times, however, when it is useful to be able to make small changes in the surface syntax of Rust that would not otherwise be backwards compatible. The most obvious example is introducing a new keyword, which would invalidate existing names for variables and so forth. Even when such changes do not "feel" backwards incompatible, they still have the potential to break existing code. If we were to make such changes, people would quickly find that existing programs stopped compiling.
3535

36-
**Editions** are the mechanism we use to square this circle. When we wish to release a feature that would otherwise be backwards incompatible, we do so as part of a new **Rust edition**. Editions are opt-in, and so existing crates do not see these changes until they explicitly migrate over to the new edition. New creates created by cargo always default to the most recent edition.
36+
**Editions** are the mechanism we use to square this circle. When we wish to release a feature that would otherwise be backwards incompatible, we do so as part of a new **Rust edition**. Editions are opt-in, and so existing crates do not see these changes until they explicitly migrate over to the new edition. New crates created by cargo always default to the most recent edition.
3737

3838
# Guide-level explanation
3939
[guide-level-explanation]: #guide-level-explanation

0 commit comments

Comments
 (0)