From 0bb64c2f535c331373dd8ba86ff156af0a6f0f58 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Tue, 23 Aug 2022 08:37:38 +0200 Subject: [PATCH] Fix warnings after crate split --- embassy-sync/src/signal.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-sync/src/signal.rs b/embassy-sync/src/signal.rs index 3f665e38..f6ebeb9b 100644 --- a/embassy-sync/src/signal.rs +++ b/embassy-sync/src/signal.rs @@ -6,7 +6,7 @@ use core::task::{Context, Poll, Waker}; /// Single-slot signaling primitive. /// -/// This is similar to a [`Channel`](crate::channel::mpmc::Channel) with a buffer size of 1, except +/// This is similar to a [`Channel`](crate::channel::Channel) with a buffer size of 1, except /// "sending" to it (calling [`Signal::signal`]) when full will overwrite the previous value instead /// of waiting for the receiver to pop the previous value. /// @@ -14,7 +14,7 @@ use core::task::{Context, Poll, Waker}; /// the latest data, and therefore it's fine to "lose" messages. This is often the case for "state" /// updates. /// -/// For more advanced use cases, you might want to use [`Channel`](crate::channel::mpmc::Channel) instead. +/// For more advanced use cases, you might want to use [`Channel`](crate::channel::Channel) instead. /// /// Signals are generally declared as `static`s and then borrowed as required. ///