diff options
| author | Robin Mueller <[email protected]> | 2025-07-09 14:28:18 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-09 14:28:18 +0200 |
| commit | 9892963da946aa896d9387916ee2b5d509b63e3b (patch) | |
| tree | dfed65b9f77b82e8c45892071da8bf21666affd8 /embassy-sync/src | |
| parent | da392ed942bbf78117f1dbba32208458de7cdea8 (diff) | |
Update embassy-sync/src/priority_channel.rs
Co-authored-by: James Munns <[email protected]>
Diffstat (limited to 'embassy-sync/src')
| -rw-r--r-- | embassy-sync/src/priority_channel.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-sync/src/priority_channel.rs b/embassy-sync/src/priority_channel.rs index a6fbe8def..6765a1503 100644 --- a/embassy-sync/src/priority_channel.rs +++ b/embassy-sync/src/priority_channel.rs | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | //! A queue for sending values between asynchronous tasks. | 1 | //! A queue for sending values between asynchronous tasks. |
| 2 | //! | 2 | //! |
| 3 | //! Similar to a [`Channel`](crate::channel::Channel), however [`PriorityChannel`] sifts higher priority items to the front of the queue. | 3 | //! Similar to a [`Channel`](crate::channel::Channel), however [`PriorityChannel`] sifts higher priority items to the front of the queue. |
| 4 | //! Priority is determined by the `Ord` trait. Priority behavior is determined by the [Kind] parameter of the channel. | 4 | //! Priority is determined by the `Ord` trait. Priority behavior is determined by the [`Kind`] parameter of the channel. |
| 5 | 5 | ||
| 6 | use core::cell::RefCell; | 6 | use core::cell::RefCell; |
| 7 | use core::future::Future; | 7 | use core::future::Future; |
