We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9669c6d + c56aa8b commit 18d6eefCopy full SHA for 18d6eef
src/libsync/comm/mod.rs
@@ -86,6 +86,8 @@
86
//!
87
//! ```
88
//! // Create a shared channel which can be sent along from many tasks
89
+//! // where tx is the sending half (tx for transmission), and rx is the receiving
90
+//! // half (rx for receiving).
91
//! let (tx, rx) = channel();
92
//! for i in range(0i, 10i) {
93
//! let tx = tx.clone();
@@ -473,6 +475,8 @@ impl<T> UnsafeFlavor<T> for Receiver<T> {
473
475
/// # Example
474
476
///
477
/// ```
478
+/// // tx is is the sending half (tx for transmission), and rx is the receiving
479
+/// // half (rx for receiving).
480
/// let (tx, rx) = channel();
481
482
/// // Spawn off an expensive computation
0 commit comments