style(db): Fix whitespace error

This commit is contained in:
Vincent Ambo 2018-04-16 14:17:02 +02:00
parent c5cf911a07
commit 8d32200999

View file

@ -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)?;