diff options
| author | Ulf Lilleengen <[email protected]> | 2022-08-23 08:37:38 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-08-23 08:37:38 +0200 |
| commit | 0bb64c2f535c331373dd8ba86ff156af0a6f0f58 (patch) | |
| tree | c41b6e86c32dbf909a95e27254851fd53b9bff73 /embassy-sync/src | |
| parent | cb9f0ef5b800ce4a22cde1805e0eb88425f1e07b (diff) | |
Fix warnings after crate split
Diffstat (limited to 'embassy-sync/src')
| -rw-r--r-- | embassy-sync/src/signal.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-sync/src/signal.rs b/embassy-sync/src/signal.rs index 3f665e388..f6ebeb9b9 100644 --- a/embassy-sync/src/signal.rs +++ b/embassy-sync/src/signal.rs | |||
| @@ -6,7 +6,7 @@ use core::task::{Context, Poll, Waker}; | |||
| 6 | 6 | ||
| 7 | /// Single-slot signaling primitive. | 7 | /// Single-slot signaling primitive. |
| 8 | /// | 8 | /// |
| 9 | /// This is similar to a [`Channel`](crate::channel::mpmc::Channel) with a buffer size of 1, except | 9 | /// This is similar to a [`Channel`](crate::channel::Channel) with a buffer size of 1, except |
| 10 | /// "sending" to it (calling [`Signal::signal`]) when full will overwrite the previous value instead | 10 | /// "sending" to it (calling [`Signal::signal`]) when full will overwrite the previous value instead |
| 11 | /// of waiting for the receiver to pop the previous value. | 11 | /// of waiting for the receiver to pop the previous value. |
| 12 | /// | 12 | /// |
| @@ -14,7 +14,7 @@ use core::task::{Context, Poll, Waker}; | |||
| 14 | /// the latest data, and therefore it's fine to "lose" messages. This is often the case for "state" | 14 | /// the latest data, and therefore it's fine to "lose" messages. This is often the case for "state" |
| 15 | /// updates. | 15 | /// updates. |
| 16 | /// | 16 | /// |
| 17 | /// For more advanced use cases, you might want to use [`Channel`](crate::channel::mpmc::Channel) instead. | 17 | /// For more advanced use cases, you might want to use [`Channel`](crate::channel::Channel) instead. |
| 18 | /// | 18 | /// |
| 19 | /// Signals are generally declared as `static`s and then borrowed as required. | 19 | /// Signals are generally declared as `static`s and then borrowed as required. |
| 20 | /// | 20 | /// |
