white space cleanups

This commit is contained in:
Dietmar Maurer 2019-01-04 12:51:43 +01:00
parent 96df2fb44b
commit 7394ca3e95
1 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ impl ChunkStore {
}) })
} }
pub fn touch_chunk(&self, digest:&[u8]) -> Result<(), Error> { pub fn touch_chunk(&self, digest:&[u8]) -> Result<(), Error> {
let mut chunk_path = self.chunk_dir.clone(); let mut chunk_path = self.chunk_dir.clone();
let prefix = digest_to_prefix(&digest); let prefix = digest_to_prefix(&digest);
@ -165,7 +165,7 @@ impl ChunkStore {
Ok(()) Ok(())
} }
pub fn read_chunk(&self, digest:&[u8]) -> Result<Vec<u8>, Error> { pub fn read_chunk(&self, digest:&[u8]) -> Result<Vec<u8>, Error> {
let mut chunk_path = self.chunk_dir.clone(); let mut chunk_path = self.chunk_dir.clone();
let prefix = digest_to_prefix(&digest); let prefix = digest_to_prefix(&digest);