diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-02-15 16:24:32 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-02-15 16:24:32 +0100 |
commit | dd47a10f010efed353b35fe6e624d0d5d98367b5 (patch) | |
tree | e2a5f7a82e7da8554b3586d050e797a437d5ebcc /src/filestore | |
parent | 599886a979e5c820868e2dd72f0fabf17ca592d8 (diff) |
No need to map () to ()
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/filestore')
-rw-r--r-- | src/filestore/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filestore/path.rs b/src/filestore/path.rs index eeb946d..bbcc727 100644 --- a/src/filestore/path.rs +++ b/src/filestore/path.rs @@ -90,7 +90,7 @@ impl StoreRoot { where R: std::io::Read, { - ar.unpack(&self.0).map_err(Error::from).map(|_| ()) + ar.unpack(&self.0).map_err(Error::from) } } |