about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorLudwig Stecher <4567.angel@gmail.com>2020-01-30 21:55:30 +0100
committerGitHub <noreply@github.com>2020-01-30 21:55:30 +0100
commitf0dc98160be8367fd011438da90fcce1d19e5b38 (patch)
tree51a725e27a71d1c2ef32e09aa2d7d8c2fbfce525 /src/test/incremental/thinlto
parent8002bad1144d90be144cc0b7295fd7ca3473269f (diff)
downloadrust-f0dc98160be8367fd011438da90fcce1d19e5b38.tar.gz
rust-f0dc98160be8367fd011438da90fcce1d19e5b38.zip
Fix syntax highlighting of code fence
The documentation for RESULT_EXPECT_USED includes this code:

    let res: Result<usize, ()> = Ok(1);
    res?;
    # Ok::<(), ()>(())

Because the code fence didn't start with `rust`, the code wasn't highlighted and the line starting with `#` was displayed on the website. This is now fixed.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions