clippy: fix needless_borrow

This commit is contained in:
link2xt
2021-02-13 13:50:09 +03:00
committed by link2xt
parent c620d3e215
commit a88893f262
26 changed files with 97 additions and 97 deletions

View File

@@ -324,7 +324,7 @@ impl Sql {
}
let key = key.as_ref();
let res = if let Some(ref value) = value {
let res = if let Some(value) = value {
let exists = self
.exists("SELECT value FROM config WHERE keyname=?;", paramsv![key])
.await?;