Skip to content

Commit 1f9cd14

Browse files
authored
Merge branch 'main' into add-wasm-ci
2 parents d6e147a + 355d3e3 commit 1f9cd14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/progress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ pub struct Progress<'a> {
2727
}
2828

2929
impl<'a> Progress<'a> {
30-
///
3130
/// # Example
3231
///
3332
/// ```
@@ -143,6 +142,7 @@ pub(crate) async fn async_sleep(interval: Duration) {
143142
#[cfg(target_arch = "wasm32")]
144143
pub(crate) async fn async_sleep(interval: Duration) {
145144
use wasm_bindgen_futures::JsFuture;
145+
use std::convert::TryInto;
146146

147147
JsFuture::from(js_sys::Promise::new(&mut |yes, _| {
148148
web_sys::window()

0 commit comments

Comments
 (0)