File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 62
62
git -c user.name='ci' -c user.email='ci' commit -m 'Deploy futures-timer API documentation'
63
63
git push -f -q https://git:${{ secrets.github_token }}@github.com/${{ github.repository }} HEAD:gh-pages
64
64
if : github.event_name == 'push' && github.event.ref == 'refs/heads/master' && github.repository == 'async-rs/futures-timer'
65
+
66
+ check_wasm :
67
+ name : Check WASM
68
+ needs : [test]
69
+ runs-on : ubuntu-latest
70
+ steps :
71
+ - uses : actions/checkout@master
72
+ - name : Install Rust
73
+ run : rustup update stable && rustup add target wasm32-unknown-unknown
74
+ - name : cargo test
75
+ run : cargo test --target wasm32-unknown-unknown --features wasm-bindgen
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ impl Delay {
23
23
/// Resets the timeout.
24
24
#[ inline]
25
25
pub fn reset ( & mut self , dur : Duration ) {
26
- * self = Delay :: new ( at ) ;
26
+ * self = Delay :: new ( dur ) ;
27
27
}
28
28
}
29
29
You can’t perform that action at this time.
0 commit comments