From b46629cf646ee304c9fda8ddf87501228e783729 Mon Sep 17 00:00:00 2001 From: Evgeny Khudoba Date: Sun, 7 Mar 2021 19:39:42 +0700 Subject: [PATCH] added in docs main work principle of channel --- README.md | 3 ++- src/lib.rs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0d52050..d670870 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ https://crates.io/crates/async-channel) [![Documentation](https://docs.rs/async-channel/badge.svg)]( https://docs.rs/async-channel) -An async multi-producer multi-consumer channel. +An async multi-producer multi-consumer channel, where each message can be received by only +one of all existing consumers. There are two kinds of channels: diff --git a/src/lib.rs b/src/lib.rs index c2d7a95..7e69cc6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,5 @@ -//! An async multi-producer multi-consumer channel. +//! An async multi-producer multi-consumer channel, where each message can be received by only +//! one of all existing consumers. //! //! There are two kinds of channels: //!