aboutsummaryrefslogtreecommitdiff
path: root/src/Cache.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cache.zig')
-rw-r--r--src/Cache.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Cache.zig b/src/Cache.zig
index fe769cb32a..1362f6d816 100644
--- a/src/Cache.zig
+++ b/src/Cache.zig
@@ -1,4 +1,4 @@
-gpa: *Allocator,
+gpa: Allocator,
manifest_dir: fs.Dir,
hash: HashHelper = .{},
@@ -48,7 +48,7 @@ pub const File = struct {
bin_digest: BinDigest,
contents: ?[]const u8,
- pub fn deinit(self: *File, allocator: *Allocator) void {
+ pub fn deinit(self: *File, allocator: Allocator) void {
if (self.path) |owned_slice| {
allocator.free(owned_slice);
self.path = null;