diff --git a/crates/rattler_installs_packages/src/index/file_store.rs b/crates/rattler_installs_packages/src/index/file_store.rs index ab1ff352..5c006f79 100644 --- a/crates/rattler_installs_packages/src/index/file_store.rs +++ b/crates/rattler_installs_packages/src/index/file_store.rs @@ -175,7 +175,10 @@ impl<'a> LockedWriter<'a> { /// be used to read from the file again. pub fn commit(self) -> io::Result> { self.f.as_file().sync_data().expect("CANT SYNC DATA"); - let mut file = fs::File::from_parts(self.f.persist(self.path).expect("CANT PERSIS DATA"), self.path); + let mut file = fs::File::from_parts( + self.f.persist(self.path).expect("CANT PERSIS DATA"), + self.path, + ); file.rewind().expect("CANT REWIND DATA"); Ok(LockedReader { file,