You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/introduction.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ These conventions are documented here.
116
116
See [Notation] for more detail.
117
117
118
118
r[example.rule.label]
119
-
* Rule identifiers appear before each language rule enclosed in square brackets. These identifiers provide a way to refer to a specific rule in the language. The rule identifier uses periods to separate sections from most general to most specific ([destructors.scope.nesting.function-body] for example). On narrow screens, the rule name will collapse to display `[*]`.
119
+
* Rule identifiers appear before each language rule enclosed in square brackets. These identifiers provide a way to refer to and link to a specific rule in the language ([e.g.][example rule]). The rule identifier uses periods to separate sections from most general to most specific ([destructors.scope.nesting.function-body] for example). On narrow screens, the rule name will collapse to display `[*]`.
120
120
121
121
The rule name can be clicked to link to that rule.
122
122
@@ -144,6 +144,7 @@ We also want the reference to be as normative as possible, so if you see anythin
144
144
[_Expression_]: expressions.md
145
145
[cargo book]: ../cargo/index.html
146
146
[cargo reference]: ../cargo/reference/index.html
147
+
[example rule]: example.rule.label
147
148
[expressions chapter]: expressions.html
148
149
[file an issue]: https://github.com/rust-lang/reference/issues
149
150
[lifetime of temporaries]: expressions.html#temporaries
0 commit comments