From 077dd1cde95debb41a6cd153407e17e48ceb71bf Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 15 Mar 2022 16:06:50 +0100 Subject: Clippy --- src/model/garage.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/model/garage.rs') diff --git a/src/model/garage.rs b/src/model/garage.rs index cbceeb64..abdb920a 100644 --- a/src/model/garage.rs +++ b/src/model/garage.rs @@ -142,7 +142,8 @@ impl Garage { let key_table = Table::new(KeyTable, control_rep_param, system.clone(), &db); info!("Initialize Garage..."); - let garage = Arc::new(Self { + + Arc::new(Self { config, db, background, @@ -154,9 +155,7 @@ impl Garage { object_table, version_table, block_ref_table, - }); - - garage + }) } pub fn bucket_helper(&self) -> helper::bucket::BucketHelper { -- cgit v1.2.3