chore: Apply Clippy lint fixes

This commit is contained in:
Michael Aaron Murphy 2021-10-29 18:02:07 +02:00
parent 5a4b829e17
commit e6a2babceb
5 changed files with 12 additions and 18 deletions

View file

@ -112,7 +112,7 @@ impl<O: futures::Sink<Response> + Unpin> Service<O> {
service_tx.clone(),
plugins::help::CONFIG,
Some(Regex::new(plugins::help::REGEX.as_ref()).expect("failed to compile help regex")),
move |id, tx| HelpPlugin::new(id, tx),
HelpPlugin::new,
);
let f1 = request_handler(input, service_tx);