mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
Fix typo.
This commit is contained in:
@@ -2577,7 +2577,7 @@ bit_field_type :: proc() {
|
|||||||
{
|
{
|
||||||
// A `bit_field` is different from a struct in that you must specify the backing type.
|
// A `bit_field` is different from a struct in that you must specify the backing type.
|
||||||
// This backing type must be an integer or a fixed-length array of integers.
|
// This backing type must be an integer or a fixed-length array of integers.
|
||||||
// This is useful if ther eneeds to be a specific alignment or access pattern for the record.
|
// This is useful if there needs to be a specific alignment or access pattern for the record.
|
||||||
|
|
||||||
Bar :: bit_field u32 {}
|
Bar :: bit_field u32 {}
|
||||||
Baz :: bit_field [4]u8 {}
|
Baz :: bit_field [4]u8 {}
|
||||||
|
|||||||
Reference in New Issue
Block a user