fix: by convention deinit() should not take pointers to self

This commit is contained in:
2022-10-21 05:11:49 -03:00
parent 9d1229fe0c
commit ee4fcd926b
5 changed files with 7 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ pub const Bios = struct {
};
}
pub fn deinit(self: *@This()) void {
pub fn deinit(self: @This()) void {
self.alloc.free(self.buf);
}

View File

@@ -18,7 +18,7 @@ pub const GamePak = struct {
};
}
pub fn deinit(self: *@This()) void {
pub fn deinit(self: @This()) void {
self.alloc.free(self.buf);
}