js_sys: Add #[derive(Clone, Debug)] to Promise

I think we just forgot this from earlier!
This commit is contained in:
Alex Crichton 2018-10-10 15:58:47 -07:00
parent 70e13705b4
commit e9fa209dcf

View File

@ -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`