aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorNathan Perry <[email protected]>2024-09-19 08:17:33 -0400
committerNathan Perry <[email protected]>2024-09-19 08:44:45 -0400
commit893b8d79e8bab8dae0f46a0182443df9160592b5 (patch)
treefebe2a9851e133f88c948f034a3ec3a49112be0a /examples
parentcdb44f1272e9264324cc866ee2d141301e968e10 (diff)
embassy_sync/pubsub: fix PubSubBehavior visibility
https://github.com/embassy-rs/embassy/pull/2969 appears to have broken direct `publish_immediate()` on `pubsub::Channel`, as it functionally made `PubSubBehavior` private and didn't delegate this method to the new (private) `SealedPubSubBehavior`. This change moves `publish_immediate`, `capacity`, and `is_full` from `SealedPubSubBehavior` to `PubSubBehavior` in order to restore them to `pub` visibility.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions