diff options
Diffstat (limited to 'core/isolate.rs')
-rw-r--r-- | core/isolate.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/isolate.rs b/core/isolate.rs index e9ff9474c..d017687c6 100644 --- a/core/isolate.rs +++ b/core/isolate.rs @@ -529,8 +529,7 @@ impl Future for CoreIsolate { assert_eq!(inner.shared.size(), 0); } - if overflow_response.is_some() { - let (op_id, buf) = overflow_response.take().unwrap(); + if let Some((op_id, buf)) = overflow_response.take() { async_op_response( scope, Some((op_id, buf)), |