mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
Clean up some unnecessary comments
This commit is contained in:
parent
bdd7984e84
commit
c1af137336
1 changed files with 1 additions and 4 deletions
|
|
@ -281,7 +281,7 @@ pub const Store = struct {
|
|||
) std.mem.Allocator.Error!*const Store {
|
||||
// First, write the Store struct itself
|
||||
const offset_self = try writer.appendAlloc(allocator, Store);
|
||||
|
||||
|
||||
// Then serialize the sub-structures and update the struct
|
||||
offset_self.* = .{
|
||||
.interner = (try self.interner.serialize(allocator, writer)).*,
|
||||
|
|
@ -294,10 +294,7 @@ pub const Store = struct {
|
|||
|
||||
/// Add the given offset to the memory addresses of all pointers in `self`.
|
||||
pub fn relocate(self: *Store, offset: isize) void {
|
||||
// Relocate the SmallStringInterner
|
||||
self.interner.relocate(offset);
|
||||
|
||||
// Relocate the attributes SafeList
|
||||
self.attributes.relocate(offset);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue