Skip to content

Commit

Permalink
js_sys: Add #[derive(Clone, Debug)] to Promise
Browse files Browse the repository at this point in the history
I think we just forgot this from earlier!
  • Loading branch information
alexcrichton committed Oct 10, 2018
1 parent 70e1370 commit e9fa209
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/js-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit e9fa209

Please sign in to comment.