diff options
| author | binarycat <binarycat@envs.net> | 2024-11-07 15:33:45 -0600 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-07-24 11:17:13 -0500 |
| commit | 5ae2d42a8c80807c7e3ae7e8aff165fb4d8e046f (patch) | |
| tree | 3e4ff5bfac0215c2ea4d450589257287c34031a5 /tests/rustdoc-ui/intra-doc/weird-syntax.rs | |
| parent | fc5af1813307d25a84d633f21e2e53c9376eb547 (diff) | |
| download | rust-5ae2d42a8c80807c7e3ae7e8aff165fb4d8e046f.tar.gz rust-5ae2d42a8c80807c7e3ae7e8aff165fb4d8e046f.zip | |
get rid of some false negatives in rustdoc::broken_intra_doc_links
rustdoc will not try to do intra-doc linking if the "path" of a link looks too much like a "real url". however, only inline links ([text](url)) can actually contain a url, other types of links (reference links, shortcut links) contain a *reference* which is later resolved to an actual url. the "path" in this case cannot be a url, and therefore it should not be skipped due to looking like a url. Co-authored-by: Michael Howell <michael@notriddle.com>
Diffstat (limited to 'tests/rustdoc-ui/intra-doc/weird-syntax.rs')
0 files changed, 0 insertions, 0 deletions
