about summary refs log tree commit diff
path: root/src/librustdoc/html/highlight/fixtures/sample.rs
AgeCommit message (Collapse)AuthorLines
2022-08-20Update rustdoc testsGuillaume Gomez-0/+1
2021-10-04Make rustdoc not highlight `->` and `=>` as operatorsMichael Howell-1/+1
It was marking them up as `<span class="op">=</span><span class="op">&gt;</span>`, which is bloaty and wrong.
2021-04-08Add test for idents mergeGuillaume Gomez-0/+10
2020-08-27Add expect test for rustdoc html highlightingAleksey Kladov-0/+16
It's a unit-test in a sense that it only checks syntax highlighting. However, the resulting HTML is written to disk and can be easily inspected in the browser. To update the test, run with `--bless` argument or set `UPDATE_EXPEC=1` env var