We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5795386 commit 93c8d57Copy full SHA for 93c8d57
vm/ignite/src/micro_code/call.rs
@@ -30,6 +30,7 @@ use super::apply_builtin;
30
/// If the closure is not of type closure or the arity of the closure does not match the number of arguments.
31
pub fn call(mut rt: Runtime, arity: usize) -> Result<Runtime> {
32
let mut args = Vec::new();
33
+ args.reserve_exact(arity);
34
35
for _ in 0..arity {
36
args.push(
0 commit comments