Skip to content
Prev Previous commit
Next Next commit
Follow clippy's advice
  • Loading branch information
coolreader18 committed Feb 23, 2019
commit ff66bb602e44d8460a3f4fef27f4fee6c508688f
2 changes: 1 addition & 1 deletion wasm/lib/src/browser_module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ fn browser_fetch(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult {
.expect("val to be of type Response");
response_format.get_response(&response)
})
.and_then(|prom| JsFuture::from(prom))
.and_then(JsFuture::from)
.then(move |val| {
let vm = &mut acc_vm
.upgrade()
Expand Down