Allow debugging of context variable values
This commit is contained in:
parent
88100854a8
commit
54b2666685
1 changed files with 1 additions and 8 deletions
|
@ -175,14 +175,7 @@ impl<'a> fmt::Debug for Context<'a> {
|
|||
.field("parent", &self.parent)
|
||||
.field("deadline", &self.deadline)
|
||||
.field("cancelled", &self.cancelled)
|
||||
.field(
|
||||
"values",
|
||||
&if self.values.is_empty() {
|
||||
None
|
||||
} else {
|
||||
Some("values")
|
||||
},
|
||||
)
|
||||
.field("values", &self.values)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue