Skip to content

Commit

Permalink
remove unused code from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts committed Apr 6, 2024
1 parent 8f4e77e commit 095ec15
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ assert_eq!((a, b, c).join().await, (1, "hello", 3));

```rust
use futures_concurrency::prelude::*;
use futures_lite::stream;

# futures::executor::block_on(async {
let v: Vec<_> = vec!["chashu", "nori"]
.into_co_stream()
.map(|msg| async move { format!("hello {msg}") })
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
//!
//! ```rust
//! use futures_concurrency::prelude::*;
//! use futures_lite::stream;
//!
//! # futures::executor::block_on(async {
//! let v: Vec<_> = vec!["chashu", "nori"]
Expand Down

0 comments on commit 095ec15

Please sign in to comment.