diff options
Diffstat (limited to 'src/fs.zig')
-rw-r--r-- | src/fs.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs.zig b/src/fs.zig index d22f6a7bd..2d5d270c2 100644 --- a/src/fs.zig +++ b/src/fs.zig @@ -855,7 +855,7 @@ pub const PathName = struct { // the code as far as avoiding symbol name collisions. These names still go // through the renaming logic that all other symbols go through to avoid name // collisions. - pub fn nonUniqueNameString(self: *PathName, allocator: *std.mem.Allocator) !string { + pub fn nonUniqueNameString(self: *const PathName, allocator: *std.mem.Allocator) !string { if (strings.eqlComptime(self.base, "index")) { if (self.dir.len > 0) { return MutableString.ensureValidIdentifier(PathName.init(self.dir).dir, allocator); |