Skip to content

Commit

Permalink
more clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Jul 26, 2023
1 parent 591e98d commit f603927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ impl FromIterator<Feature> for FeatureList {

impl AsMut<<FeatureList as Deref>::Target> for &mut FeatureList {
fn as_mut(&mut self) -> &mut <FeatureList as Deref>::Target {
self.deref_mut()
self
}
}

impl AsRef<<FeatureList as Deref>::Target> for &FeatureList {
fn as_ref(&self) -> &<FeatureList as Deref>::Target {
self.deref()
self
}
}

Expand Down

0 comments on commit f603927

Please sign in to comment.