clippy: remove unnecessary closures
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
@ -228,7 +228,7 @@ impl Extractor {
|
||||
allow_existing_dirs,
|
||||
feature_flags,
|
||||
current_path: Arc::new(Mutex::new(OsString::new())),
|
||||
on_error: Box::new(|err| Err(err)),
|
||||
on_error: Box::new(Err),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user