diff options
Diffstat (limited to 'src/db/lib.rs')
-rw-r--r-- | src/db/lib.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/db/lib.rs b/src/db/lib.rs index 49ec0765..1b31df43 100644 --- a/src/db/lib.rs +++ b/src/db/lib.rs @@ -180,7 +180,13 @@ impl Db { pub fn import(&self, other: &Db) -> Result<()> { let existing_trees = self.list_trees()?; if !existing_trees.is_empty() { - return Err(Error(format!("destination database already contains data: {:?}", existing_trees).into())); + return Err(Error( + format!( + "destination database already contains data: {:?}", + existing_trees + ) + .into(), + )); } let tree_names = other.list_trees()?; |