Skip to content

Commit

Permalink
Remove TODOs.
Browse files Browse the repository at this point in the history
  • Loading branch information
azteca1998 committed Oct 9, 2024
1 parent b73e3fa commit 79c8d5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ pub unsafe extern "C" fn cairo_native__dict_drop(
drop_fn(entry);
}

// TODO: Use the mem tracing subsystem (avoid false memory leaks).
(dict.free_fn)(entry);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/types/felt252_dict_entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn build<'ctx>(
_metadata: &mut MetadataStorage,
_info: WithSelf<InfoAndTypeConcreteType>,
) -> Result<Type<'ctx>> {
// TODO: Custom drop (dup?) for dict entries.
// Note: This is neither droppable nor cloneable.
Ok(llvm::r#type::r#struct(
context,
&[
Expand Down

0 comments on commit 79c8d5b

Please sign in to comment.