aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/factoid/database.rs
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2019-12-07 20:06:20 +0100
committerJokler <jokler.contact@gmail.com>2019-12-07 20:06:20 +0100
commitc7ea1433942bee14be096f39c67136801039263f (patch)
treee960cf8dfc9814cadffb2e1eeb31bc01211b0e8a /src/plugins/factoid/database.rs
parent22a3fcec1ec96451012614265e2653ab5f251df1 (diff)
downloadfrippy-c7ea1433942bee14be096f39c67136801039263f.tar.gz
frippy-c7ea1433942bee14be096f39c67136801039263f.zip
Run cargo fmt on all files
Diffstat (limited to 'src/plugins/factoid/database.rs')
-rw-r--r--src/plugins/factoid/database.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/factoid/database.rs b/src/plugins/factoid/database.rs
index 5e7e24c..e82bd27 100644
--- a/src/plugins/factoid/database.rs
+++ b/src/plugins/factoid/database.rs
@@ -130,7 +130,8 @@ impl Database for Arc<Pool<ConnectionManager<MysqlConnection>>> {
factoids::table
.filter(columns::name.eq(name))
.filter(columns::idx.eq(idx)),
- ).execute(conn)
+ )
+ .execute(conn)
{
Ok(v) => {
if v > 0 {