Skip to content

Commit d809e69

Browse files
committed
style: prefer string interpolation
1 parent 700c0d7 commit d809e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tree_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl SampleTree {
5757
None => panic!("Path does not exist"),
5858
}
5959
},
60-
join_path: |prefix, name| format!("{}{}{}", prefix, SAMPLE_SEPARATOR, name),
60+
join_path: |prefix, name| format!("{prefix}{SAMPLE_SEPARATOR}{name}"),
6161
}
6262
.pipe(DataTree::from)
6363
.into_par_sorted(|left, right| left.name().cmp(right.name()))

0 commit comments

Comments
 (0)