Skip to content

Commit

Permalink
Merge pull request #957 from alexcrichton/promise-clone
Browse files Browse the repository at this point in the history
js_sys: Add `#[derive(Clone, Debug)]` to `Promise`
  • Loading branch information
alexcrichton authored Oct 10, 2018
2 parents e72ae12 + e9fa209 commit e0b73ab
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 @@ -4308,6 +4308,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 e0b73ab

Please sign in to comment.