Skip to content

Commit 0ad3aef

Browse files
committed
Fix regression in Path.tcopy
1 parent aba9269 commit 0ad3aef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/std/io/path.c3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,9 @@ fn bool? traverse(Path path, TraverseCallback callback, any data)
526526
fn bool PathCommon.has_suffix(self, String str) => self.ends_with(str);
527527

528528
fn PathWin PathWin.copy(self, Allocator allocator) => (PathWin)((String)self).copy(allocator);
529-
fn PathWin PathWin.tcopy(self, Allocator allocator) => self.copy(tmem) @inline;
529+
fn PathWin PathWin.tcopy(self) => self.copy(tmem) @inline;
530530
fn PathPosix PathPosix.copy(self, Allocator allocator) => (PathPosix)((String)self).copy(allocator);
531-
fn PathPosix PathPosix.tcopy(self, Allocator allocator) => self.copy(tmem) @inline;
531+
fn PathPosix PathPosix.tcopy(self) => self.copy(tmem) @inline;
532532

533533
fn void PathCommon.free(self, Allocator allocator) => alloc::free(allocator, self.ptr);
534534

0 commit comments

Comments
 (0)