Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79c89d7

Browse files
committed
deps: update gloo-timers to 0.3
1 parent19ccd34 commit79c89d7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ futures-lite = { version = "2.0.0", optional = true }
8686
async-process = {version ="2.0.0",optional =true }
8787

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

‎src/stream/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
//! type Item;
4141
//! fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>;
4242
//! }
43+
//! # impl Stream for () {
44+
//! # type Item = ();
45+
//! # fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> { Poll::Pending }
46+
//! # }
4347
//! ```
4448
//!
4549
//! A stream has a method, [`next`], which when called, returns an

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp