Fix missing parentheses in impl Debug for UpdateHook
This commit is contained in:
parent
a24335c9a3
commit
e49050932a
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ impl UpdateHook {
|
||||||
|
|
||||||
impl Debug for UpdateHook {
|
impl Debug for UpdateHook {
|
||||||
fn fmt(&self, fmt: &mut Formatter) -> RResult<(), FmtError> {
|
fn fmt(&self, fmt: &mut Formatter) -> RResult<(), FmtError> {
|
||||||
write!(fmt, "UpdateHook(storepath={:?}, repository={}, pos={:?}, cfg={:?}",
|
write!(fmt, "UpdateHook(storepath={:?}, repository={}, pos={:?}, cfg={:?})",
|
||||||
self.storepath,
|
self.storepath,
|
||||||
(if self.runtime.has_repository() { "Some(_)" } else { "None" }),
|
(if self.runtime.has_repository() { "Some(_)" } else { "None" }),
|
||||||
self.position,
|
self.position,
|
||||||
|
|
Loading…
Reference in a new issue