mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +00:00
Fix documentation example of strings.to_upper
This looks like it was a copy/paste mistake
This commit is contained in:
@@ -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
|
returns the input string `s` with all runes set to upper case
|
||||||
always allocates using the `allocator`
|
always allocates using the `allocator`
|
||||||
|
|
||||||
strings.to_lower("test") -> TEST
|
strings.to_upper("test") -> TEST
|
||||||
strings.to_lower("Test") -> TEST
|
strings.to_upper("Test") -> TEST
|
||||||
*/
|
*/
|
||||||
to_upper :: proc(s: string, allocator := context.allocator) -> string {
|
to_upper :: proc(s: string, allocator := context.allocator) -> string {
|
||||||
b: Builder
|
b: Builder
|
||||||
|
|||||||
Reference in New Issue
Block a user