Skip to content

Commit a25d22c

Browse files
committed
lifetime ellision for FieldWriter to fix clippy warning
1 parent 0e2aa42 commit a25d22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate/generic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ pub struct RangeTo<const MAX: u64>;
337337
/// Write field Proxy
338338
pub type FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> = raw::FieldWriter<'a, REG, WI, FI, Safety>;
339339

340-
impl<'a, REG, const WI: u8, FI, Safety> FieldWriter<'a, REG, WI, FI, Safety>
340+
impl<REG, const WI: u8, FI, Safety> FieldWriter<'_, REG, WI, FI, Safety>
341341
where
342342
REG: Writable + RegisterSpec,
343343
FI: FieldSpec,

0 commit comments

Comments
 (0)