chore: Apply Clippy lint fixes
This commit is contained in:
parent
5a4b829e17
commit
e6a2babceb
5 changed files with 12 additions and 18 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue