mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-23 12:01:02 +00:00
Run cargo fmt
This commit is contained in:
parent
a733ece26e
commit
ccbf2124cb
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ impl Actor for SearchActor {
|
||||||
self.searcher
|
self.searcher
|
||||||
.add_document(&conn.unwrap(), &post)
|
.add_document(&conn.unwrap(), &post)
|
||||||
.unwrap_or_else(|e| error!("{:?}", e));
|
.unwrap_or_else(|e| error!("{:?}", e));
|
||||||
},
|
}
|
||||||
_ => {
|
_ => {
|
||||||
error!("Failed to get database connection");
|
error!("Failed to get database connection");
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ impl Actor for SearchActor {
|
||||||
self.searcher
|
self.searcher
|
||||||
.update_document(&conn.unwrap(), &post)
|
.update_document(&conn.unwrap(), &post)
|
||||||
.unwrap_or_else(|e| error!("{:?}", e));
|
.unwrap_or_else(|e| error!("{:?}", e));
|
||||||
},
|
}
|
||||||
_ => {
|
_ => {
|
||||||
error!("Failed to get database connection");
|
error!("Failed to get database connection");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue