summaryrefslogtreecommitdiff
path: root/core/runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/runtime.rs')
-rw-r--r--core/runtime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime.rs b/core/runtime.rs
index 366e834a2..47777099c 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -1944,7 +1944,7 @@ impl JsRuntime {
// and then each tuple is used to resolve or reject promises
let mut args = vec![];
- for (promise_id, resp) in results.into_iter() {
+ for (promise_id, mut resp) in results.into_iter() {
args.push(v8::Integer::new(scope, promise_id).into());
args.push(resp.to_v8(scope).unwrap());
}