Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS committed Jan 19, 2024
1 parent cc05718 commit 4c67484
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/core/src/DynArray.ri
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ struct DynArray {
@ptr_add(@as(rawptr, old_ptr), (i + size) * self.elem_size),
(self.len - i - size) * self.elem_size
);
mem.boxed_release(old_ptr);
// FIXME: mem.boxed_release(old_ptr);
}
self.len = new_size;
self.cap = new_cap;
Expand Down
1 change: 1 addition & 0 deletions lib/rivet/src/utils/maps/mod.ri
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ pub struct MapStringArrayOfStringsIterator {
pub struct MapStringArrayOfStrings {
mut pairs: []mut StringArrayOfStrings;

#[inline]
pub func iterator(&self) -> MapStringArrayOfStringsIterator {
return MapStringArrayOfStringsIterator(self);
}
Expand Down
2 changes: 1 addition & 1 deletion rivetc/src/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def check_decl(self, decl):
decl.name_pos
)
report.note(
f"type `{self_sym.name}` is boxed, should use `+self` or `^mut self` instead"
f"type `{self_sym.name}` is boxed, should use `^self` or `^mut self` instead"
)
for arg in decl.args:
if arg.has_def_expr:
Expand Down

0 comments on commit 4c67484

Please sign in to comment.