From e980973ba01ecac5fcf9f9802c1022702fe34655 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Mon, 15 Feb 2021 21:36:07 +0000 Subject: [PATCH] Satisfy clippy --- src/local/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()))), } } }