Skip to content

Commit

Permalink
Fix typo in SAFETY description
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Gohman <[email protected]>
  • Loading branch information
Kijewski and sunfishcode authored Dec 21, 2024
1 parent d6c6859 commit 080dcdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path/dec_int.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl DecInt {

DecInt {
buf,
// SAFETY: cannot be less that 2 (initialized with 1 + at least one loop)
// SAFETY: cannot be less than 2 (initialized with 1 + at least one loop)
len: unsafe { NonZeroU8::new_unchecked(len as u8) },
}
}
Expand Down

0 comments on commit 080dcdc

Please sign in to comment.