diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2023-11-13 20:54:19 +0100 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2023-11-13 20:54:19 +0100 |
| commit | 3e1791aa5c178cdae3f45bced10775a82abc361a (patch) | |
| tree | 320e1fad6edda4d59e815ee86df1af078fedf8ad /core | |
| parent | b9a813a69db105596988939ef05153faca1f967f (diff) | |
Fix typos
Diffstat (limited to 'core')
| -rw-r--r-- | core/io/io.odin | 2 | ||||
| -rw-r--r-- | core/runtime/core_builtin.odin | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/io/io.odin b/core/io/io.odin index 566e13c54..d3cae7bce 100644 --- a/core/io/io.odin +++ b/core/io/io.odin @@ -34,7 +34,7 @@ Error :: enum i32 { // No_Progress is returned by some implementations of `io.Reader` when many calls // to `read` have failed to return any data or error. - // This is usually a signed of a broken `io.Reader` implementation + // This is usually a sign of a broken `io.Reader` implementation No_Progress, Invalid_Whence, diff --git a/core/runtime/core_builtin.odin b/core/runtime/core_builtin.odin index a73a3d712..0348a93df 100644 --- a/core/runtime/core_builtin.odin +++ b/core/runtime/core_builtin.odin @@ -109,7 +109,7 @@ remove_range :: proc(array: ^$D/[dynamic]$T, lo, hi: int, loc := #caller_locatio // `pop` will remove and return the end value of dynamic array `array` and reduces the length of `array` by 1. // -// Note: If the dynamic array as no elements (`len(array) == 0`), this procedure will panic. +// Note: If the dynamic array has no elements (`len(array) == 0`), this procedure will panic. @builtin pop :: proc(array: ^$T/[dynamic]$E, loc := #caller_location) -> (res: E) #no_bounds_check { assert(len(array) > 0, loc=loc) |