We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6e147a + 355d3e3 commit 1f9cd14Copy full SHA for 1f9cd14
src/progress.rs
@@ -27,7 +27,6 @@ pub struct Progress<'a> {
27
}
28
29
impl<'a> Progress<'a> {
30
- ///
31
/// # Example
32
///
33
/// ```
@@ -143,6 +142,7 @@ pub(crate) async fn async_sleep(interval: Duration) {
143
142
#[cfg(target_arch = "wasm32")]
144
pub(crate) async fn async_sleep(interval: Duration) {
145
use wasm_bindgen_futures::JsFuture;
+ use std::convert::TryInto;
146
147
JsFuture::from(js_sys::Promise::new(&mut |yes, _| {
148
web_sys::window()
0 commit comments