Skip to content

Commit ff0cd24

Browse files
committed
Lowercase internal link identifiers
Unfortunately, some Markdown tools care that the internal link identifiers are the same case as the headings with which they are associated, some tools care that the identifiers are always lower case, and some tools use case insensitive matching for these identifiers. There is no way to satisfy all of these tools simultaneously. However, the tools we care about at the moment either use case insensitive matching or care that the identifiers are lower case, so let's convert all of the identifiers to lower case.
1 parent ad4d1bb commit ff0cd24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

text/3498-lifetime-capture-rules-2024.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ In summary, in Rust 2021, the lifetime capture rules for RPIT opaque types are u
214214

215215
# Solution
216216

217-
[solution]: #Solution
217+
[solution]: #solution
218218

219219
This section is normative.
220220

@@ -275,7 +275,7 @@ impl<T> Foo<T> {
275275

276276
## TAIT as the solution to overcapturing
277277

278-
[TAIT as the solution to overcapturing]: #TAIT-as-the-solution-to-overcapturing
278+
[TAIT as the solution to overcapturing]: #tait-as-the-solution-to-overcapturing
279279

280280
As we described above, sometimes the capture rules result in unwanted type and lifetime parameters being captured. This happens in Rust 2021 due to the RPIT rules for capturing lifetimes from all in-scope type parameters and the `async fn` rules for capturing all in-scope type and lifetime parameters. Under this RFC, in Rust 2024, lifetime parameters could also be overcaptured by RPIT.
281281

@@ -520,7 +520,7 @@ For RPITIT, the Rust 2021 lifetime capture rules would necessarily lead to some
520520

521521
# Appendix D: The outlives trick fails with only one lifetime parameter
522522

523-
[Appendix D]: #Appendix-D-The-outlives-trick-fails-with-only-one-lifetime-parameter
523+
[Appendix D]: #appendix-d-the-outlives-trick-fails-with-only-one-lifetime-parameter
524524

525525
In the past, people often thought that the outlives trick was OK as long as there was only one lifetime parameter. This is not in fact true. Consider:
526526

0 commit comments

Comments
 (0)