Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AdinAck committed Oct 22, 2024
1 parent d0739ec commit 8b2cab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate/generic_reg_vcell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ impl<REG: Writable> Reg<REG> {
///
/// Unsafe to use with registers which don't allow to write 0.
#[inline(always)]
pub unsafe fn write_with_zero<F, T>(&self, f: F) -> T
pub unsafe fn write_with_zero_and<F, T>(&self, f: F) -> T
where
F: FnOnce(&mut W<REG>) -> T,
{
Expand Down

0 comments on commit 8b2cab5

Please sign in to comment.