meas: Evaluated: fix eval
to return both key and value
This commit is contained in:
@@ -83,7 +83,7 @@ impl Evaluated {
|
|||||||
|
|
||||||
impl<S> AbstractMeasurement<S> for Evaluated {
|
impl<S> AbstractMeasurement<S> for Evaluated {
|
||||||
fn eval(&self, _state: &S) -> String {
|
fn eval(&self, _state: &S) -> String {
|
||||||
self.1.clone()
|
format!("{}: {}", self.0, self.1)
|
||||||
}
|
}
|
||||||
fn key_value(&self, _state: &S) -> IndexMap<String, String> {
|
fn key_value(&self, _state: &S) -> IndexMap<String, String> {
|
||||||
[
|
[
|
||||||
|
Reference in New Issue
Block a user