diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2021-06-18 04:56:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-17 15:56:30 -0400 |
commit | 8031644e65647bdc3a6a0561ad31da9228e9723d (patch) | |
tree | fb2e86a305e784583770e5e27694243d9f67b79b /core/error.rs | |
parent | 2a66d5de01b584b7138084eb427c9ac09c254986 (diff) |
chore: upgrade Rust to 1.53.0 (#11021)
Diffstat (limited to 'core/error.rs')
-rw-r--r-- | core/error.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/error.rs b/core/error.rs index 1d9df2641..abe707795 100644 --- a/core/error.rs +++ b/core/error.rs @@ -191,8 +191,7 @@ impl JsError { let (message, frames, stack) = if exception.is_native_error() { // The exception is a JS Error object. - let exception: v8::Local<v8::Object> = - exception.clone().try_into().unwrap(); + let exception: v8::Local<v8::Object> = exception.try_into().unwrap(); let e: NativeJsError = serde_v8::from_v8(scope, exception.into()).unwrap(); |