Skip to content

Commit

Permalink
fix(gem-net): allow clippy::enum_variant_names
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed May 1, 2024
1 parent d8d33bc commit f6264ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/drivers/net/gem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ enum PhyReg {
}

/// PHY Status reg mask and offset
#[allow(clippy::enum_variant_names)]
enum PhyStatus {
ANCompleteOffset = 5,
ANCompleteMask = 0x20,
Expand Down

0 comments on commit f6264ff

Please sign in to comment.