diff options
| author | Username-Leon <leonardo.temperanza@gmail.com> | 2025-10-15 15:30:32 +0200 |
|---|---|---|
| committer | Username-Leon <leonardo.temperanza@gmail.com> | 2025-10-15 15:30:32 +0200 |
| commit | 4dd6bb2e871e9b8583a89e62ce36a98d02d48cc3 (patch) | |
| tree | 25b7599645caf76ebe9136da51e5114006ab93f4 /core/container/small_array | |
| parent | e10093bd991334789031df9ed587d27823ca90dd (diff) | |
| parent | 596066aa0453752f24cc2fa5087fafe2c4686536 (diff) | |
Merge branch 'master' of https://github.com/LeonardoTemperanza/Odin
Diffstat (limited to 'core/container/small_array')
| -rw-r--r-- | core/container/small_array/doc.odin | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/core/container/small_array/doc.odin b/core/container/small_array/doc.odin index f3e9acd57..21d000a10 100644 --- a/core/container/small_array/doc.odin +++ b/core/container/small_array/doc.odin @@ -1,8 +1,7 @@ /* -Package small_array implements a dynamic array like -interface on a stack-allocated, fixed-size array. +A dynamic array-like interface on a stack-allocated, fixed-size array. -The Small_Array type is optimal for scenarios where you need +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) { @@ -52,4 +51,4 @@ Output: Hellope */ -package container_small_array +package container_small_array
\ No newline at end of file |