Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix clippy warning in frozen origname handling
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
  • Loading branch information
Copilot and youknowone committed Dec 30, 2025
commit a40da0ca0d94a6d204f4ac3494535283874000fa
6 changes: 2 additions & 4 deletions crates/vm/src/vm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1032,14 +1032,12 @@ fn core_frozen_inits() -> impl Iterator<Item = (&'static str, FrozenModule)> {
])
});

let iter = iter.map(|(name, mut module)| {
iter.map(|(name, mut module)| {
if let Some(origname) = aliases.get(name) {
module.origname = *origname;
}
(name, module)
});

iter
})
}

#[test]
Expand Down
Loading