Simplify store debug print

This commit is contained in:
Matthias Beyer 2018-02-19 11:51:21 +01:00
parent 7265d598a5
commit 5f99018807
1 changed files with 1 additions and 4 deletions

View File

@ -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)
}
}