Skip to content

Commit

Permalink
✏️ Fix typo #29
Browse files Browse the repository at this point in the history
  • Loading branch information
wrenger committed Dec 16, 2023
1 parent c0156c8 commit b6611c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fn bitfield_inner(args: TokenStream, input: TokenStream) -> syn::Result<TokenStr
return Err(syn::Error::new(
span,
format!(
"The bitfiled size ({bits} bits) has to be equal to the sum of its members ({offset} bits)!. \
"The bitfield size ({bits} bits) has to be equal to the sum of its members ({offset} bits)!. \
You might have to add padding (a {} bits large member prefixed with \"_\").",
bits - offset
),
Expand Down

0 comments on commit b6611c7

Please sign in to comment.