We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 082570d commit 34c24c6Copy full SHA for 34c24c6
css-inline/benches/inliner.rs
@@ -26,7 +26,7 @@ fn simple(c: &mut Criterion) {
26
}
27
28
fn error_formatting(c: &mut Criterion) {
29
- let error = black_box(InlineError::ParseError("Error description".to_string()));
+ let error = black_box(InlineError::ParseError("Error description".into()));
30
c.bench_function("error formatting", |b| b.iter(|| format!("{}", error)));
31
32
0 commit comments