about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-23 23:15:33 +0000
committerbors <bors@rust-lang.org>2022-06-23 23:15:33 +0000
commit434e718b6717246066898a2dfcda1aec5e6f4082 (patch)
tree2e7ae2b894afddf55293e41bc36c59cb046e8e88 /src/test/codegen/src-hash-algorithm
parent32b40ded0f16818918d4a2ca16400526eea369f2 (diff)
parent5107123f9a3a2faaa71a673add58b34002a5122f (diff)
downloadrust-434e718b6717246066898a2dfcda1aec5e6f4082.tar.gz
rust-434e718b6717246066898a2dfcda1aec5e6f4082.zip
Auto merge of #12605 - erhuve:fix/determine-doc-link-type-at-start, r=erhuve
fix: doc_links link type - Determine link type at start (fixes #12601)

fixes #12601
Looked like autolink/inline mismatch happened because end_link_type was parsed from the Text/Code events.
I changed it to be determined from the Start event, which should hopefully remain accurate while staying true to the cases where link type may need to be changed, according to the comment
```
// normally link's type is determined by the type of link tag in the end event,
// however in some cases we want to change the link type, for example,
// `Shortcut` type doesn't make sense for url links
```
Hopefully this is the desired behavior?
![Untitled](https://user-images.githubusercontent.com/59463268/174696581-3b1140a5-cdf0-4eda-9a11-ec648e4e7d21.gif)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions