From f61a5df1944a080bf58a31c9cbdf9f15fa940244 Mon Sep 17 00:00:00 2001 From: mertcandav Date: Thu, 26 Sep 2024 14:43:02 +0300 Subject: [PATCH] std::fs::path: remove unused mutability for Windows --- std/fs/path/path_windows.jule | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/fs/path/path_windows.jule b/std/fs/path/path_windows.jule index 2006a3497..1435e9c9d 100644 --- a/std/fs/path/path_windows.jule +++ b/std/fs/path/path_windows.jule @@ -157,7 +157,7 @@ fn abs(mut path: str): (str, ok: bool) { ret Clean(path), true } -fn join(mut elem: ...str): str { +fn join(elem: ...str): str { mut s := StrBuilder.New(1 << 4) mut lastChar := byte(0) for (_, mut e) in elem {