Skip to content

Commit

Permalink
channel: remove crossbeam dev-dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Stjepan Glavina committed Jan 28, 2019
1 parent f826790 commit be937e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions crossbeam-channel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,3 @@ path = "../crossbeam-utils"
[dev-dependencies]
rand = "0.6"
signal-hook = "0.1.5"

[dev-dependencies.crossbeam]
version = "0.7"
path = ".."
6 changes: 3 additions & 3 deletions crossbeam-channel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,16 @@
//! It's also possible to share senders and receivers by reference:
//!
//! ```
//! # extern crate crossbeam;
//! # extern crate crossbeam_channel;
//! # extern crate crossbeam_utils;
//! # fn main() {
//! use std::thread;
//! use crossbeam;
//! use crossbeam_channel::bounded;
//! use crossbeam_utils::thread::scope;
//!
//! let (s, r) = bounded(0);
//!
//! crossbeam::scope(|scope| {
//! scope(|scope| {
//! // Spawn a thread that receives a message and then sends one.
//! scope.spawn(|_| {
//! r.recv().unwrap();
Expand Down

0 comments on commit be937e2

Please sign in to comment.