diff options
author | Maybe Waffle <waffle.lapkin@gmail.com> | 2023-04-19 18:12:39 +0000 |
---|---|---|
committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2023-04-19 19:10:25 +0000 |
commit | ceabcd83e66144a26dcb90665a03c74c62593ff8 (patch) | |
tree | 9d2fc7abdd1a10452c4b45e8e36ab821d3a935a6 /tests/rustdoc-js-std/parser-errors.js | |
parent | 4eac6fe21e1f82b1cc3c528b6a4b241fe5509b40 (diff) | |
download | rust-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