From 5f99018807b3b68c63824c9da93abc1b382be4e5 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 19 Feb 2018 11:51:21 +0100 Subject: [PATCH] Simplify store debug print --- lib/core/libimagstore/src/store.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/core/libimagstore/src/store.rs b/lib/core/libimagstore/src/store.rs index 9ea1ba8d..500cf58d 100644 --- a/lib/core/libimagstore/src/store.rs +++ b/lib/core/libimagstore/src/store.rs @@ -752,10 +752,7 @@ impl Store { impl Debug for Store { fn fmt(&self, fmt: &mut Formatter) -> RResult<(), FMTError> { - write!(fmt, - r#"Store\n\tlocation = {:?}\n\tentries = {:?}\n"#, - self.location, - self.entries) + writeln!(fmt, "Store location = {:?}, entries = {:?}", self.location, self.entries) } }