Run cargo fmt
This commit is contained in:
parent
e18be6ec95
commit
16624fd742
@ -11,7 +11,9 @@ pub struct SearchActor {
|
|||||||
|
|
||||||
impl SearchActor {
|
impl SearchActor {
|
||||||
pub fn init(searcher: Arc<Searcher>, conn: DbPool) {
|
pub fn init(searcher: Arc<Searcher>, conn: DbPool) {
|
||||||
ACTOR_SYS.actor_of_args::<SearchActor, _>("search", (searcher, conn)).expect("Failed to initialize searcher actor");
|
ACTOR_SYS
|
||||||
|
.actor_of_args::<SearchActor, _>("search", (searcher, conn))
|
||||||
|
.expect("Failed to initialize searcher actor");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user