summaryrefslogtreecommitdiffstats
path: root/src/filestore/release.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-01-18 14:48:59 +0100
committerMatthias Beyer <matthias.beyer@atos.net>2021-01-18 14:48:59 +0100
commit0295809436d8e178a7d0528b47b9d4313b292eef (patch)
tree55671566fb700328c81a34b322cfa55309e098f8 /src/filestore/release.rs
parent5bee5329b823431fd3c971f75281084617766edd (diff)
Run `cargo fmt`
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/filestore/release.rs')
-rw-r--r--src/filestore/release.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/filestore/release.rs b/src/filestore/release.rs
index 3068729..d7a7232 100644
--- a/src/filestore/release.rs
+++ b/src/filestore/release.rs
@@ -13,11 +13,11 @@ use std::fmt::Debug;
use anyhow::Result;
use indicatif::ProgressBar;
-use crate::filestore::util::FileStoreImpl;
use crate::filestore::path::StoreRoot;
+use crate::filestore::util::FileStoreImpl;
// The implementation of this type must be available in the merged filestore.
-pub struct ReleaseStore(pub (in crate::filestore) FileStoreImpl);
+pub struct ReleaseStore(pub(in crate::filestore) FileStoreImpl);
impl Debug for ReleaseStore {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::result::Result<(), std::fmt::Error> {
@@ -25,10 +25,8 @@ impl Debug for ReleaseStore {
}
}
-
impl ReleaseStore {
pub fn load(root: StoreRoot, progress: ProgressBar) -> Result<Self> {
FileStoreImpl::load(root, progress).map(ReleaseStore)
}
}
-