aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-07-04 14:41:10 +0100
committergingerBill <bill@gingerbill.org>2024-07-04 14:41:10 +0100
commite9a54666e29553788275212545d8111fdac292a0 (patch)
tree8cc318081746f0f0114f703e9f098faeb81715a7 /examples
parent8b7c6a23ba7aec812e334b8bbb447708587f4cce (diff)
Fix typo.
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/demo.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index 0ad9f4ab0..d31711bad 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -2577,7 +2577,7 @@ bit_field_type :: proc() {
{
// 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 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 {}
Baz :: bit_field [4]u8 {}