Skip to content

Commit

Permalink
lifetime ellision for FieldWriter to fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Jan 13, 2025
1 parent 0e2aa42 commit a25d22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ pub struct RangeTo<const MAX: u64>;
/// Write field Proxy
pub type FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> = raw::FieldWriter<'a, REG, WI, FI, Safety>;

impl<'a, REG, const WI: u8, FI, Safety> FieldWriter<'a, REG, WI, FI, Safety>
impl<REG, const WI: u8, FI, Safety> FieldWriter<'_, REG, WI, FI, Safety>
where
REG: Writable + RegisterSpec,
FI: FieldSpec,
Expand Down

0 comments on commit a25d22c

Please sign in to comment.