bless clippy
This commit is contained in:
parent
9e7d2287cd
commit
91b4e7c4fd
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…
Add table
Add a link
Reference in a new issue