Skip to content

Commit

Permalink
chore: satisfy clippy:needless_lifetimes in Rust 1.83
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Nov 27, 2024
1 parent 7e4b2c8 commit 14e38ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions moz-webgpu-cts/src/wpt/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl File {
}
}

impl<'a> metadata::File<'a> for File {
impl metadata::File<'_> for File {
type Properties = FileProps;
type Tests = Tests;

Expand Down Expand Up @@ -679,7 +679,7 @@ impl Test {
}
}

impl<'a> metadata::Test<'a> for Test {
impl metadata::Test<'_> for Test {
type Properties = TestProps<TestOutcome>;
type Subtests = Subtests;

Expand Down Expand Up @@ -721,7 +721,7 @@ pub struct Subtest {
pub properties: TestProps<SubtestOutcome>,
}

impl<'a> metadata::Subtest<'a> for Subtest {
impl metadata::Subtest<'_> for Subtest {
type Properties = TestProps<SubtestOutcome>;

fn new(_span: SimpleSpan, properties: Self::Properties) -> Self {
Expand Down Expand Up @@ -926,11 +926,11 @@ where
pub tags: Option<ExpandedPropertyValue<Vec<String>>>,
}

impl<'a, Out> TestProps<Out>
impl<Out> TestProps<Out>
where
Out: Clone + Default + EnumSetType + Eq + PartialEq + Hash,
{
fn insert(&mut self, prop: TestProp<Out>, emitter: &mut Emitter<Rich<'a, char>>) {
fn insert(&mut self, prop: TestProp<Out>, emitter: &mut Emitter<Rich<'_, char>>) {
let Self {
is_disabled,
expected,
Expand Down

0 comments on commit 14e38ec

Please sign in to comment.