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/small_array | |
| parent | 4068eeb5fae3981b34a5e5ae96e7c1b0c0eedc85 (diff) | |
Render examples.
Diffstat (limited to 'core/container/small_array')
| -rw-r--r-- | core/container/small_array/doc.odin | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/container/small_array/doc.odin b/core/container/small_array/doc.odin index 12ad6b134..21d000a10 100644 --- a/core/container/small_array/doc.odin +++ b/core/container/small_array/doc.odin @@ -1,8 +1,7 @@ -// A dynamic array-like interface on a stack-allocated, fixed-size array. -package container_small_array - /* -The Small_Array type is optimal for scenarios where you need +A dynamic array-like interface on a stack-allocated, fixed-size array. + +The `Small_Array` type is optimal for scenarios where you need a container for a fixed number of elements of a specific type, with the total number known at compile time but the exact number to be used determined at runtime. @@ -33,7 +32,7 @@ Example: return } - // the Small_Array can be an ordinary parameter 'generic' over + // the `Small_Array` can be an ordinary parameter 'generic' over // the actual length to be usable with different sizes print_elements :: proc(arr: ^small_array.Small_Array($N, rune)) { for r in small_array.slice(arr) { @@ -51,4 +50,5 @@ Output: Hellope -*/
\ No newline at end of file +*/ +package container_small_array
\ No newline at end of file |