summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bindings-ubm.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bindings-ubm.rs b/tests/bindings-ubm.rs
index dc3be19..0ee59e5 100644
--- a/tests/bindings-ubm.rs
+++ b/tests/bindings-ubm.rs
@@ -16,7 +16,7 @@ fn bindings_microbenchmark() {
let mut texts = vec![];
for i in 0..N {
- texts.push(format!("step {}", i));
+ texts.push(format!("step {i}"));
}
let texted = time.elapsed().unwrap();
@@ -24,7 +24,7 @@ fn bindings_microbenchmark() {
for t in texts.iter() {
re.push((
t,
- RegexBuilder::new(&format!("^{}$", t))
+ RegexBuilder::new(&format!("^{t}$"))
.case_insensitive(false)
.build()
.unwrap(),