Skip to content

Commit 2d99040

Browse files
committed
fixup
1 parent e3de0d7 commit 2d99040

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

vm/src/frame.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,7 @@ impl ExecutingFrame<'_> {
13951395
);
13961396
Err(vm.new_import_error(msg, name.to_owned()))
13971397
} else {
1398-
Err(vm.new_import_error(
1399-
format!("cannot import name '{}'", name.as_str()),
1400-
name.to_owned(),
1401-
))
1398+
Err(vm.new_import_error(format!("cannot import name '{name}'"), name.to_owned()))
14021399
}
14031400
}
14041401

0 commit comments

Comments
 (0)