diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-16T12·17+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-16T12·17+0200 |
commit | 8d32200999194611de536c2dc8cfe989d319e933 (patch) | |
tree | bf132ac2cfd67ce438553edf66372bfcb82ae67a | |
parent | c5cf911a070e7196ef3a91887158b21bc4399034 (diff) |
style(db): Fix whitespace error
-rw-r--r-- | src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.rs b/src/db.rs index c67eed774594..e08553302837 100644 --- a/src/db.rs +++ b/src/db.rs @@ -61,7 +61,7 @@ impl Handler<GetThread> for DbExecutor { fn handle(&mut self, msg: GetThread, _: &mut Self::Context) -> Self::Result { use schema::threads::dsl::*; use schema::posts::dsl::id; - + let conn = self.0.get()?; let thread_result: Thread = threads .find(msg.0).first(&conn)?; |