Fix missing parentheses in impl Debug for UpdateHook

This commit is contained in:
Matthias Beyer 2016-09-08 10:14:08 +02:00
parent a24335c9a3
commit e49050932a

View file

@ -46,7 +46,7 @@ impl UpdateHook {
impl Debug for UpdateHook {
fn fmt(&self, fmt: &mut Formatter) -> RResult<(), FmtError> {
write!(fmt, "UpdateHook(storepath={:?}, repository={}, pos={:?}, cfg={:?}",
write!(fmt, "UpdateHook(storepath={:?}, repository={}, pos={:?}, cfg={:?})",
self.storepath,
(if self.runtime.has_repository() { "Some(_)" } else { "None" }),
self.position,