diff options
| author | Chris Morgan <me@chrismorgan.info> | 2016-12-23 12:23:50 +0530 |
|---|---|---|
| committer | Chris Morgan <me@chrismorgan.info> | 2016-12-23 12:23:50 +0530 |
| commit | c9a6e874cacc7067bf2466f8bc7d154daccd95b1 (patch) | |
| tree | fad3177787a19933f150281664ebd8cf56afa697 /src/test/run-pass/thinlto | |
| parent | c217ab6c8dc1a305304b00a414be5f39ea6a2c81 (diff) | |
| download | rust-c9a6e874cacc7067bf2466f8bc7d154daccd95b1.tar.gz rust-c9a6e874cacc7067bf2466f8bc7d154daccd95b1.zip | |
Fix rustdoc highlighting of `&` and `*`.
Whitespace tokens were included, so the span check used with `&` was incorrect, and it was never highlighted as kw-2. The `*` in `*foo` and `*const T` should also be highlighted kw-2, so I added them. Note that this *will* cause mishighlighting of code like `1*2`, but that should have been written `1 * 2`. Same deal with `1&2`.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
