diff options
author | Ellie Huxtable <e@elm.sh> | 2021-02-15 21:36:07 +0000 |
---|---|---|
committer | Ellie Huxtable <e@elm.sh> | 2021-02-15 21:36:07 +0000 |
commit | e980973ba01ecac5fcf9f9802c1022702fe34655 (patch) | |
tree | 356f64c9bac6f2e18f360c004097c2d43d271dfc | |
parent | ba086f909d6c09c0d1c3636452c82a79c44468ff (diff) |
Satisfy clippy
-rw-r--r-- | src/local/database.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/database.rs b/src/local/database.rs index 3133578b..0c31566d 100644 --- a/src/local/database.rs +++ b/src/local/database.rs @@ -105,7 +105,7 @@ impl rusqlite::ToSql for QueryParam { use rusqlite::types::{ToSqlOutput, Value}; match self { - QueryParam::Text(s) => Ok(ToSqlOutput::Owned(Value::Text(s.clone()))), + Self::Text(s) => Ok(ToSqlOutput::Owned(Value::Text(s.clone()))), } } } |