bless clippy

This commit is contained in:
yukang 2022-11-09 19:23:23 +08:00
parent 40dca3d6a0
commit 84c3a959a7

View file

@ -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