Skip to content

Commit

Permalink
deps: update gloo-timers to 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Keruspe committed Aug 21, 2024
1 parent 19ccd34 commit 79c89d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ futures-lite = { version = "2.0.0", optional = true }
async-process = { version = "2.0.0", optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
gloo-timers = { version = "0.2.1", features = ["futures"], optional = true }
gloo-timers = { version = "0.3.0", features = ["futures"], optional = true }
wasm-bindgen-futures = { version = "0.4.10", optional = true }
futures-channel = { version = "0.3.4", optional = true }

Expand Down
4 changes: 4 additions & 0 deletions src/stream/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
//! type Item;
//! fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>;
//! }
//! # impl Stream for () {
//! # type Item = ();
//! # fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> { Poll::Pending }
//! # }
//! ```
//!
//! A stream has a method, [`next`], which when called, returns an
Expand Down

0 comments on commit 79c89d7

Please sign in to comment.