summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2023-04-19 18:12:39 +0000
committerMaybe Waffle <waffle.lapkin@gmail.com>2023-04-19 19:10:25 +0000
commitceabcd83e66144a26dcb90665a03c74c62593ff8 (patch)
tree9d2fc7abdd1a10452c4b45e8e36ab821d3a935a6 /tests/rustdoc-js-std/parser-errors.js
parent4eac6fe21e1f82b1cc3c528b6a4b241fe5509b40 (diff)
downloadrust-ceabcd83e66144a26dcb90665a03c74c62593ff8.tar.gz
Remove useless check (drive-by cleanup)
While it might *seem* that this does something, it actually doesn't. `mut_borrow_of_mutable_ref` returns a `bool` that is ignored by the let-else. This was basically ```rust if !self.body.local_decls.get(local).is_some() { return } ``` Which is pretty useless
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions