mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Enable clippy's redundant_clone linter (#7202)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -376,11 +376,8 @@ mod tests {
|
||||
fn only_one() {
|
||||
let (provider_factory, static_file_provider, _temp_static_files_dir) = setup();
|
||||
|
||||
let static_file_producer = StaticFileProducer::new(
|
||||
provider_factory,
|
||||
static_file_provider.clone(),
|
||||
PruneModes::default(),
|
||||
);
|
||||
let static_file_producer =
|
||||
StaticFileProducer::new(provider_factory, static_file_provider, PruneModes::default());
|
||||
|
||||
let (tx, rx) = channel();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user