fix: by convention deinit() should not take pointers to self
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user