Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cadubentzen committed Oct 4, 2023
1 parent fa67236 commit 81f2ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ pub enum PlaneComponent {

impl PlaneComponent {
#[inline]
fn to_ffi(&self) -> u32 {
fn to_ffi(self) -> u32 {
match self {
PlaneComponent::Y => vvdecComponentType_VVDEC_CT_Y,
PlaneComponent::U => vvdecComponentType_VVDEC_CT_U,
Expand Down

0 comments on commit 81f2ef3

Please sign in to comment.