about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-27 14:02:23 +0000
committerbors <bors@rust-lang.org>2023-01-27 14:02:23 +0000
commit54e929bddee5934c527894fabee8a2c48531a795 (patch)
treebbe04ffa70c5166d9976c282c41dcc8e7ac52326 /tests/rustdoc-js-std/parser-errors.js
parentb5e3e600d9f106d62aef8f7bf0650f5f1eef368e (diff)
parenta1a01c19f15d597215911e966667e0d35905e967 (diff)
downloadrust-54e929bddee5934c527894fabee8a2c48531a795.tar.gz
rust-54e929bddee5934c527894fabee8a2c48531a795.zip
Auto merge of #10237 - cstyles:fix-docs-for-suspicious_xor_used_as_pow, r=Jarcho
Fix styling in documentation for `suspicious_xor_used_as_pow` lint

There was a tab after the three leading slashes which caused the contents of the "Why is this bad?" section to be rendered as a code block.

**Before:**

<img width="626" alt="master" src="https://user-images.githubusercontent.com/4869194/214985546-4433d211-9fd3-450c-8ff7-2c0a47fccdc0.png">

**After:**

<img width="520" alt="fixed" src="https://user-images.githubusercontent.com/4869194/214985561-87255196-008c-4a1c-8cc8-c54b337d22a2.png">

The file still contains a lot of tabs but they don't affect the documentation.

---

changelog: [`suspicious_xor_used_as_pow`]: Fix styling in documentation
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions