mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-09-21 07:01:54 +00:00
bless clippy
This commit is contained in:
parent
40dca3d6a0
commit
84c3a959a7
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ error[E0308]: mismatched types
|
|||
|
|
||||
LL | Some(reference) = cache.data.get(key) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()`
|
||||
|
|
||||
help: consider adding `let`
|
||||
|
|
||||
LL | let Some(reference) = cache.data.get(key) {
|
||||
| +++
|
||||
|
||||
error: aborting due to 3 previous errors
|
||||
|
||||
|
|
Loading…
Reference in a new issue