about summary refs log tree commit diff
path: root/library/std/src/sync/mpmc
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2024-11-10 13:22:58 -0600
committerbinarycat <binarycat@envs.net>2024-11-10 13:22:58 -0600
commitae3c68db344f26d79c0a133a1a46c7929b1ea9ad (patch)
treee4773a588669acdbd9a7fad0e48c3c603e27859e /library/std/src/sync/mpmc
parent7028d9318fadc20e5e3058d52e44d785d31a6aaa (diff)
downloadrust-ae3c68db344f26d79c0a133a1a46c7929b1ea9ad.tar.gz
rust-ae3c68db344f26d79c0a133a1a46c7929b1ea9ad.zip
split up the first paragraph of doc comments for better summaries
Diffstat (limited to 'library/std/src/sync/mpmc')
-rw-r--r--library/std/src/sync/mpmc/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/sync/mpmc/mod.rs b/library/std/src/sync/mpmc/mod.rs
index 44e146a89ba..0cf4902d6d5 100644
--- a/library/std/src/sync/mpmc/mod.rs
+++ b/library/std/src/sync/mpmc/mod.rs
@@ -153,6 +153,7 @@ use crate::panic::{RefUnwindSafe, UnwindSafe};
 use crate::time::{Duration, Instant};
 
 /// Creates a new asynchronous channel, returning the sender/receiver halves.
+///
 /// All data sent on the [`Sender`] will become available on the [`Receiver`] in
 /// the same order as it was sent, and no [`send`] will block the calling thread
 /// (this channel has an "infinite buffer", unlike [`sync_channel`], which will
@@ -201,6 +202,7 @@ pub fn channel<T>() -> (Sender<T>, Receiver<T>) {
 }
 
 /// Creates a new synchronous, bounded channel.
+///
 /// All data sent on the [`Sender`] will become available on the [`Receiver`]
 /// in the same order as it was sent. Like asynchronous [`channel`]s, the
 /// [`Receiver`] will block until a message becomes available. `sync_channel`