summary refs log tree commit diff
path: root/src/librustdoc/html/highlight/fixtures/sample.html
AgeCommit message (Collapse)AuthorLines
2021-10-25rustdoc: use better highlighting for *const, *mut, and &mutMichael Howell-2/+2
This generates more consistent HTML for these RefKeyWord combinations. Before: ![image](https://user-images.githubusercontent.com/1593513/138742752-7e00a3f7-4621-4c62-82d1-3e4c2ef503d1.png) After: ![image](https://user-images.githubusercontent.com/1593513/138743955-90abcdcd-fc88-4e2f-95bb-c1b1635c0001.png)
2021-10-04Make rustdoc not highlight `->` and `=>` as operatorsMichael Howell-3/+3
It was marking them up as `<span class="op">=</span><span class="op">&gt;</span>`, which is bloaty and wrong.
2021-08-05Update rustdoc testsGuillaume Gomez-1/+1
2021-04-08Add test for idents mergeGuillaume Gomez-0/+10
2021-04-02rustdoc: update macro highlight testsMichael Howell-3/+3
2020-08-27Add expect test for rustdoc html highlightingAleksey Kladov-0/+27
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