aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/pubsub/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-sync/src/pubsub/mod.rs')
-rw-r--r--embassy-sync/src/pubsub/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-sync/src/pubsub/mod.rs b/embassy-sync/src/pubsub/mod.rs
index 66c9b0017..a97eb7d5b 100644
--- a/embassy-sync/src/pubsub/mod.rs
+++ b/embassy-sync/src/pubsub/mod.rs
@@ -434,7 +434,7 @@ impl<T: Clone, const CAP: usize, const SUBS: usize, const PUBS: usize> PubSubSta
434} 434}
435 435
436/// Error type for the [PubSubChannel] 436/// Error type for the [PubSubChannel]
437#[derive(Debug, PartialEq, Eq, Clone)] 437#[derive(Debug, PartialEq, Eq, Clone, Copy)]
438#[cfg_attr(feature = "defmt", derive(defmt::Format))] 438#[cfg_attr(feature = "defmt", derive(defmt::Format))]
439pub enum Error { 439pub enum Error {
440 /// All subscriber slots are used. To add another subscriber, first another subscriber must be dropped or 440 /// All subscriber slots are used. To add another subscriber, first another subscriber must be dropped or