Skip to content

Commit

Permalink
Update 1946-intra-rustdoc-links.md
Browse files Browse the repository at this point in the history
Fixed extra \`
  • Loading branch information
CGMossa authored and fmease committed Dec 3, 2024
1 parent 830b402 commit c017755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text/1946-intra-rustdoc-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ For example, this should issue a warning:
```rust
#[derive(Debug)]
/// Link to [S::fmt]
struct S;`
struct S;
```

but this should link to the implementation of `Debug::fmt` for `S`:
Expand All @@ -491,7 +491,7 @@ use std::fmt::Debug;

#[derive(Debug)]
/// Link to [S::fmt]
struct S;`
struct S;
```

[ref-ufcs]: https://github.com/rust-lang-nursery/reference/blob/96e976d32a0a6927dd26c2ee805aaf44ef3bef2d/src/expressions.md#disambiguating-function-calls
Expand Down

0 comments on commit c017755

Please sign in to comment.