File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 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>) {
7171
7272/// The sending side of a channel.
7373///
74+ /// This struct is created by the [`channel`] function. See its
75+ /// documentation for more.
76+ ///
77+ /// [`channel`]: fn.channel.html
78+ ///
7479/// # Examples
7580///
7681/// ```
@@ -298,8 +303,11 @@ impl<T> fmt::Debug for Sender<T> {
298303
299304/// The receiving side of a channel.
300305///
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.
302309///
310+ /// [`channel`]: fn.channel.html
303311/// [`Stream`]: ../stream/trait.Stream.html
304312///
305313/// # Examples
You can’t perform that action at this time.
0 commit comments