minor changes

This commit is contained in:
2026-04-11 19:06:26 +08:00
parent 9983458b31
commit e34cfc7add
9 changed files with 42 additions and 45 deletions
-1
View File
@@ -23,7 +23,6 @@ miette = { version = "7.4", features = ["fancy"] }
# Data Structure
hashbrown = { workspace = true }
smallvec = { workspace = true }
string-interner = { workspace = true }
# Memory Management
+3
View File
@@ -509,6 +509,9 @@ struct OwnedIr {
}
impl OwnedIr {
/// # Safety
///
/// `ir` must be allocated from `bump`.
unsafe fn new(ir: RawIrRef<'_>, bump: Bump) -> Self {
Self {
_bump: bump,