From e9fa209dcff526680f759430ecd986c89bc02b3b Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 10 Oct 2018 15:58:47 -0700 Subject: [PATCH] js_sys: Add `#[derive(Clone, Debug)]` to `Promise` I think we just forgot this from earlier! --- crates/js-sys/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/js-sys/src/lib.rs b/crates/js-sys/src/lib.rs index 249e89a48..4506cd726 100644 --- a/crates/js-sys/src/lib.rs +++ b/crates/js-sys/src/lib.rs @@ -4254,6 +4254,7 @@ extern "C" { /// /// [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) #[wasm_bindgen(extends = Object)] + #[derive(Clone, Debug)] pub type Promise; /// Creates a new `Promise` with the provided executor `cb`