From d63ccd06b768f8b8f9e57e2ce15d2ad6ea3ca97f Mon Sep 17 00:00:00 2001 From: Magnus Hoff Date: Sat, 12 May 2018 14:36:52 +0200 Subject: [PATCH] Cleanup --- src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state.rs b/src/state.rs index e148675..9353bc0 100644 --- a/src/state.rs +++ b/src/state.rs @@ -115,7 +115,7 @@ impl<'a> SyncState<'a> { Ok(article_revisions::table .filter(article_revisions::article_id.eq(article_id)) .filter(article_revisions::latest.eq(true)) - .select((article_revisions::slug)) + .select(article_revisions::slug) .first::(self.db_connection) .optional()?) }