diff options
| author | William Roe <git@wjlr.org.uk> | 2023-03-10 16:07:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 16:07:06 +0000 |
| commit | 63b5d472fa6acb9c8d94a94fb0abe20436ffa32c (patch) | |
| tree | 70f5c481e869a4083d85ff544efb3ec3542cb660 /core/strings | |
| parent | 233e3c76fda1b164c311320189303976f82c62b1 (diff) | |
Fix documentation example of strings.to_upper
This looks like it was a copy/paste mistake
Diffstat (limited to 'core/strings')
| -rw-r--r-- | core/strings/conversion.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/strings/conversion.odin b/core/strings/conversion.odin index ab827490d..8a67618da 100644 --- a/core/strings/conversion.odin +++ b/core/strings/conversion.odin @@ -78,8 +78,8 @@ to_lower :: proc(s: string, allocator := context.allocator) -> string { returns the input string `s` with all runes set to upper case always allocates using the `allocator` - strings.to_lower("test") -> TEST - strings.to_lower("Test") -> TEST + strings.to_upper("test") -> TEST + strings.to_upper("Test") -> TEST */ to_upper :: proc(s: string, allocator := context.allocator) -> string { b: Builder |