Skip to content

Commit 7831129

Browse files
committed
Fix rustfmt formatting in cache spill code
Signed-off-by: Quanyi Ma <eli@patch.sh>
1 parent 87c761f commit 7831129

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/internal/pack/cache_object.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ impl FileLoadStore for CacheObject {
183183
}
184184

185185
fn f_save(&self, path: &Path) -> Result<(), io::Error> {
186-
let data =
187-
rkyv::to_bytes::<RkyvError>(&CacheObjectOnDiskRef::from(self)).map_err(io::Error::other)?;
186+
let data = rkyv::to_bytes::<RkyvError>(&CacheObjectOnDiskRef::from(self))
187+
.map_err(io::Error::other)?;
188188
write_bytes_atomically(path, &data)
189189
}
190190
}

0 commit comments

Comments
 (0)