about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2023-07-31 16:07:48 -0700
committerJosh Triplett <josh@joshtriplett.org>2023-07-31 17:11:47 -0700
commit6a0886cdba7e6d35e1fa51d467b07ca83d888972 (patch)
tree45c28f0869c2fea5e3cb81c17e5d907ca4a39398
parent0217565e247f9c1956313278d27c6bf0a7c44b0b (diff)
downloadrust-6a0886cdba7e6d35e1fa51d467b07ca83d888972.tar.gz
rust-6a0886cdba7e6d35e1fa51d467b07ca83d888972.zip
Link to the Rust edition guide for more information about editions
-rw-r--r--src/doc/style-guide/src/editions.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/doc/style-guide/src/editions.md b/src/doc/style-guide/src/editions.md
index e9a91d0507a..5c67a185b8f 100644
--- a/src/doc/style-guide/src/editions.md
+++ b/src/doc/style-guide/src/editions.md
@@ -4,10 +4,12 @@ The default Rust style evolves over time, as Rust does. However, to avoid
 breaking established code style, and CI jobs checking code style, changes to
 the default Rust style only appear in *style editions*.
 
-Code written in a given Rust edition uses the corresponding Rust style edition
-by default. To make it easier to migrate code style separately from the
-semantic changes between Rust editions, formatting tools such as `rustfmt`
-allow updating the style edition separately from the Rust edition.
+Code written in a given
+[Rust edition](https://doc.rust-lang.org/edition-guide/)
+uses the corresponding Rust style edition by default. To make it easier to
+migrate code style separately from the semantic changes between Rust editions,
+formatting tools such as `rustfmt` allow updating the style edition separately
+from the Rust edition.
 
 The current version of the style guide describes the latest Rust style edition.
 Each distinct past style will have a corresponding archived version of the