about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-01-30 11:19:18 +0100
committerGitHub <noreply@github.com>2024-01-30 11:19:18 +0100
commitf35504dbf252b2da2ef7303d4bae40953b03247a (patch)
treee9fa53dce4d815b16cc3f07b68652c9eb291352f /compiler/rustc_parse/src/parser/expr.rs
parent3524d8ac255421b9681813193772e713a78f72a9 (diff)
parent1e60cc9bd9b35c1aa63e941fad0c0326db82e366 (diff)
downloadrust-f35504dbf252b2da2ef7303d4bae40953b03247a.tar.gz
rust-f35504dbf252b2da2ef7303d4bae40953b03247a.zip
Rollup merge of #120443 - GuillaumeGomez:footnote-def-improvement, r=fmease
Fixes footnote handling in rustdoc

Fixes #100638.

You can now declare footnotes like this:

```rust
//! Reference to footnotes A[^1], B[^2] and C[^3].
//!
//! [^1]: Footnote A.
//! [^2]: Footnote B.
//! [^3]: Footnote C.
```

r? `@notriddle`
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions