diff options
| author | gingerBill <bill@gingerbill.org> | 2023-05-03 14:22:38 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-05-03 14:22:38 +0100 |
| commit | 0c3522133d60870e123b7d0e2aacb15c38e377f8 (patch) | |
| tree | 5b8dc211bde960d88b1ed2b367e15840a11d0d79 | |
| parent | 1223e8cf7f273e0535bc6efb2f0f49034e532730 (diff) | |
Fix indentationdev-2023-05
| -rw-r--r-- | core/strings/strings.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/strings/strings.odin b/core/strings/strings.odin index d9387c93e..6daa5f9c9 100644 --- a/core/strings/strings.odin +++ b/core/strings/strings.odin @@ -41,7 +41,7 @@ Returns: */ @(deprecated="Prefer clone. It now returns an optional allocator error") clone_safe :: proc(s: string, allocator := context.allocator, loc := #caller_location) -> (res: string, err: mem.Allocator_Error) { - return clone(s, allocator, loc) + return clone(s, allocator, loc) } /* Clones a string and appends a null-byte to make it a cstring @@ -629,7 +629,7 @@ Returns: */ @(deprecated="Prefer join. It now returns an optional allocator error") join_safe :: proc(a: []string, sep: string, allocator := context.allocator) -> (res: string, err: mem.Allocator_Error) { - return join(a, sep, allocator) + return join(a, sep, allocator) } /* Returns a combined string from the slice of strings `a` without a separator @@ -689,7 +689,7 @@ The concatenated string, and an error if allocation fails */ @(deprecated="Prefer concatenate. It now returns an optional allocator error") concatenate_safe :: proc(a: []string, allocator := context.allocator) -> (res: string, err: mem.Allocator_Error) { - return concatenate(a, allocator) + return concatenate(a, allocator) } /* Returns a substring of the input string `s` with the specified rune offset and length |