Skip to content

Commit

Permalink
Fix clippy lint violations in new stable 1.65.0
Browse files Browse the repository at this point in the history
- `clippy::explicit_auto_deref
  • Loading branch information
lopopolo committed Nov 6, 2022
1 parent 95405b3 commit a062792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ where
const fn as_slice(&self) -> &T {
match self {
Self::Static(slice) => slice,
Self::Owned(owned) => &**owned,
Self::Owned(owned) => owned,
}
}

Expand Down

0 comments on commit a062792

Please sign in to comment.