File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,11 @@ pub fn channel<T>(cap: usize) -> (Sender<T>, Receiver<T>) {
71
71
72
72
/// The sending side of a channel.
73
73
///
74
+ /// This struct is created by the [`channel`] function. See its
75
+ /// documentation for more.
76
+ ///
77
+ /// [`channel`]: fn.channel.html
78
+ ///
74
79
/// # Examples
75
80
///
76
81
/// ```
@@ -298,8 +303,11 @@ impl<T> fmt::Debug for Sender<T> {
298
303
299
304
/// The receiving side of a channel.
300
305
///
301
- /// This type implements the [`Stream`] trait, which means it can act as an asynchronous iterator.
306
+ /// This type receives messages by calling `recv`. But it also implements the [`Stream`] trait,
307
+ /// which means it can act as an asynchronous iterator. This struct is created by the [`channel`]
308
+ /// function. See its documentation for more.
302
309
///
310
+ /// [`channel`]: fn.channel.html
303
311
/// [`Stream`]: ../stream/trait.Stream.html
304
312
///
305
313
/// # Examples
You can’t perform that action at this time.
0 commit comments