diff options
| author | bors <bors@rust-lang.org> | 2017-01-12 18:32:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-12 18:32:28 +0000 |
| commit | 27b9e6d450590751fca863312a8cf10f289cf1f2 (patch) | |
| tree | e4e04470fc45f547949ea16e84f354976d44de40 /src/rustllvm/RustWrapper.cpp | |
| parent | ac5046cf67e51df286e7c8df02d67c302d4c4d09 (diff) | |
| parent | c9a6e874cacc7067bf2466f8bc7d154daccd95b1 (diff) | |
| download | rust-27b9e6d450590751fca863312a8cf10f289cf1f2.tar.gz rust-27b9e6d450590751fca863312a8cf10f289cf1f2.zip | |
Auto merge of #38569 - chris-morgan:rustdoc-highlight-kw-2, r=steveklabnik
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 (RefKeyword). 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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
