mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
+1
-1
@@ -150,7 +150,7 @@ join :: proc(elems: ..string, allocator := context.allocator) -> string {
|
|||||||
context.allocator = allocator
|
context.allocator = allocator
|
||||||
for elem, i in elems {
|
for elem, i in elems {
|
||||||
if elem != "" {
|
if elem != "" {
|
||||||
s := strings.join(elems[i:], "/")
|
s := strings.join(elems[i:], "/", context.temp_allocator)
|
||||||
return clean(s)
|
return clean(s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user