meas: Evaluated: fix eval to return both key and value

This commit is contained in:
2022-07-29 13:39:33 -07:00
parent 604f368f0d
commit e2c156e790

View File

@@ -83,7 +83,7 @@ impl Evaluated {
impl<S> AbstractMeasurement<S> for Evaluated {
fn eval(&self, _state: &S) -> String {
self.1.clone()
format!("{}: {}", self.0, self.1)
}
fn key_value(&self, _state: &S) -> IndexMap<String, String> {
[