diff --git a/moz-webgpu-cts/src/wpt/metadata.rs b/moz-webgpu-cts/src/wpt/metadata.rs index 658a004..f4cae61 100644 --- a/moz-webgpu-cts/src/wpt/metadata.rs +++ b/moz-webgpu-cts/src/wpt/metadata.rs @@ -51,7 +51,7 @@ impl File { } } -impl<'a> metadata::File<'a> for File { +impl metadata::File<'_> for File { type Properties = FileProps; type Tests = Tests; @@ -679,7 +679,7 @@ impl Test { } } -impl<'a> metadata::Test<'a> for Test { +impl metadata::Test<'_> for Test { type Properties = TestProps; type Subtests = Subtests; @@ -721,7 +721,7 @@ pub struct Subtest { pub properties: TestProps, } -impl<'a> metadata::Subtest<'a> for Subtest { +impl metadata::Subtest<'_> for Subtest { type Properties = TestProps; fn new(_span: SimpleSpan, properties: Self::Properties) -> Self { @@ -926,11 +926,11 @@ where pub tags: Option>>, } -impl<'a, Out> TestProps +impl TestProps where Out: Clone + Default + EnumSetType + Eq + PartialEq + Hash, { - fn insert(&mut self, prop: TestProp, emitter: &mut Emitter>) { + fn insert(&mut self, prop: TestProp, emitter: &mut Emitter>) { let Self { is_disabled, expected,