diff --git a/src/local/database.rs b/src/local/database.rs index 3133578..0c31566 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()))), } } }