feat: Introduce the Criterion::name to allow better debugging

This commit is contained in:
Clément Renault
2019-05-20 11:18:59 +02:00
parent 08d89053da
commit 8c71473498
9 changed files with 47 additions and 8 deletions

View File

@@ -98,6 +98,10 @@ impl Criterion for WordsProximity {
lhs.cmp(&rhs)
}
fn name(&self) -> &'static str {
"WordsProximity"
}
}
#[cfg(test)]