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("parent", &self.parent)
|
||||||
.field("deadline", &self.deadline)
|
.field("deadline", &self.deadline)
|
||||||
.field("cancelled", &self.cancelled)
|
.field("cancelled", &self.cancelled)
|
||||||
.field(
|
.field("values", &self.values)
|
||||||
"values",
|
|
||||||
&if self.values.is_empty() {
|
|
||||||
None
|
|
||||||
} else {
|
|
||||||
Some("values")
|
|
||||||
},
|
|
||||||
)
|
|
||||||
.finish()
|
.finish()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue