about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorVeera <sveera.2001@gmail.com>2024-08-08 15:21:15 -0400
committerVeera <sveera.2001@gmail.com>2024-08-08 15:21:15 -0400
commit1350a65736d66ff771010442258c1cbf499b1842 (patch)
tree961be9374faa2f298e215d702719a95f52bbb81a /tests/rustdoc-js-std/parser-errors.js
parent006c8df322e55c14d845e1fe317ca1445c2f8e6b (diff)
downloadrust-1350a65736d66ff771010442258c1cbf499b1842.tar.gz
rust-1350a65736d66ff771010442258c1cbf499b1842.zip
Remove a Redundant Conditional Check
The existing code check for `where_bounds.is_empty()` twice when
it can be combined into one. Moreover, the refactored code reads
better and feels straightforward.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions