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 /src/local/database.rs | |
| parent | Allow listing by current directory and/or session (diff) | |
| download | atuin-e980973ba01ecac5fcf9f9802c1022702fe34655.zip | |
Satisfy clippy
Diffstat (limited to '')
| -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()))), } } } |
