Skip to content

Commit 4a4d11a

Browse files
committed
adhere to formatting rules
1 parent 01f23a7 commit 4a4d11a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

nativelink-store/src/default_store_factory.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub async fn make_and_add_store_to_manager<'a>(
5555

5656
let store = store_factory(backend, store_manager, maybe_health_registry_builder).await?;
5757
store_manager.add_store(name, store)?;
58-
58+
5959
Ok(())
6060
}
6161

@@ -65,7 +65,6 @@ fn store_factory<'a>(
6565
maybe_health_registry_builder: Option<&'a mut HealthRegistryBuilder>,
6666
) -> Pin<FutureMaybeStore<'a>> {
6767
Box::pin(async move {
68-
6968
let store: Arc<dyn StoreDriver> = match backend {
7069
StoreSpec::memory(spec) => MemoryStore::new(spec),
7170
StoreSpec::experimental_s3_store(spec) => S3Store::new(spec, SystemTime::now).await?,

src/bin/nativelink.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ async fn inner_main(
201201
Some(&mut health_register_store),
202202
)
203203
.await
204-
.err_tip(|| format!("Failed to create store '{name}'"))?;
204+
.err_tip(|| format!("Failed to create store '{name}'"))?;
205205
}
206206
}
207207

0 commit comments

Comments
 (0)