Skip to content

Commit 1e424e7

Browse files
Merge pull request #146 from ErichDonGubler/erichdongubler/push-ouwllslxyvot
fix: actually format the fmt. str. in `Subtests::add_subtest` 😅
2 parents 76b84db + 714b142 commit 1e424e7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

moz-webgpu-cts/src/wpt/metadata.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,10 @@ impl<'a> metadata::Subtests<'a> for Subtests {
677677
) {
678678
let Self(subtests) = self;
679679
if subtests.get(&name).is_some() {
680-
emitter.emit(Rich::custom(span, "duplicate subtest {name:?}"));
680+
emitter.emit(Rich::custom(
681+
span,
682+
format_args!("duplicate subtest {name:?}"),
683+
));
681684
}
682685
subtests.insert(name, subtest);
683686
}

0 commit comments

Comments
 (0)