diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-06-28 12:00:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-28 12:00:10 +0100 |
| commit | a1ae6f161b77358feea7626a9852cc44e1226802 (patch) | |
| tree | b9e149b83f4daa89e9213157641d7a41d4b5738e /base/runtime | |
| parent | 883f6c129a1d0f62bca4ce0d24065f4e71099d37 (diff) | |
| parent | 805bb69c6c8e3aa275ab42ba6878a7e02653e441 (diff) | |
Merge pull request #3502 from ARtemachka/master
Fix typo in core_builtin
Diffstat (limited to 'base/runtime')
| -rw-r--r-- | base/runtime/core_builtin.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/runtime/core_builtin.odin b/base/runtime/core_builtin.odin index ff973054d..7758b29a5 100644 --- a/base/runtime/core_builtin.odin +++ b/base/runtime/core_builtin.odin @@ -65,7 +65,7 @@ copy :: proc{copy_slice, copy_from_string} // with the old value, and reducing the length of the dynamic array by 1. // // Note: This is an O(1) operation. -// Note: If you the elements to remain in their order, use `ordered_remove`. +// Note: If you want the elements to remain in their order, use `ordered_remove`. // Note: If the index is out of bounds, this procedure will panic. @builtin unordered_remove :: proc(array: ^$D/[dynamic]$T, index: int, loc := #caller_location) #no_bounds_check { @@ -79,7 +79,7 @@ unordered_remove :: proc(array: ^$D/[dynamic]$T, index: int, loc := #caller_loca // `ordered_remove` removed the element at the specified `index` whilst keeping the order of the other elements. // // Note: This is an O(N) operation. -// Note: If you the elements do not have to remain in their order, prefer `unordered_remove`. +// Note: If the elements do not have to remain in their order, prefer `unordered_remove`. // Note: If the index is out of bounds, this procedure will panic. @builtin ordered_remove :: proc(array: ^$D/[dynamic]$T, index: int, loc := #caller_location) #no_bounds_check { |