-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where braces are missing when a regular int is being produced (…
…#53) This was reported in issue #24. The fix itself is two characters - added a ton of test coverage to go through all combinations of regular and arbitrary ints.
- Loading branch information
1 parent
ad9c7bf
commit bee23ad
Showing
4 changed files
with
128 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "bitbybit" | ||
version = "1.3.0" | ||
version = "1.3.1" | ||
authors = ["Daniel Lehmann <[email protected]>"] | ||
edition = "2021" | ||
description = "Efficient implementation of bit-fields where several numbers are packed within a larger number and bit-enums. Useful for drivers, so it works in no_std environments" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,7 +145,7 @@ fn getter_packed( | |
}) | ||
}); | ||
quote! { | ||
#(#expressions)|* | ||
(#(#expressions)|*) | ||
} | ||
} | ||
|
||
|