diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-10 12:24:28 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-10 12:24:28 +0200 |
| commit | ece213afca742bb91e9328230fd21b6b94c85662 (patch) | |
| tree | bd53a386f09c717dfb8c1af903e95599a22ca6a5 /core/container/bit_array | |
| parent | 4068eeb5fae3981b34a5e5ae96e7c1b0c0eedc85 (diff) | |
Render examples.
Diffstat (limited to 'core/container/bit_array')
| -rw-r--r-- | core/container/bit_array/doc.odin | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/container/bit_array/doc.odin b/core/container/bit_array/doc.odin index aa27817e8..e86059ecd 100644 --- a/core/container/bit_array/doc.odin +++ b/core/container/bit_array/doc.odin @@ -1,10 +1,9 @@ -// A dynamically-sized array of bits. -package container_dynamic_bit_array - /* +A dynamically-sized array of bits. + The Bit Array can be used in several ways: -By default you don't need to instantiate a Bit Array. +By default you don't need to instantiate a `Bit_Array`. Example: package test @@ -21,11 +20,11 @@ Example: // returns `false`, `false`, because this Bit Array wasn't created to allow negative indices. was_set, was_retrieved := get(&bits, -1) - fmt.println(was_set, was_retrieved) + fmt.println(was_set, was_retrieved) destroy(&bits) } -A Bit Array can optionally allow for negative indices, if the minimum value was given during creation. +A `Bit_Array` can optionally allow for negative indices, if the minimum value was given during creation. Example: package test @@ -51,4 +50,5 @@ Example: fmt.printf("Get(Negative_Test): %v, %v\n", get(bits, Foo.Negative_Test)) fmt.printf("Freed.\n") } -*/
\ No newline at end of file +*/ +package container_dynamic_bit_array
\ No newline at end of file |