From 56b3e927fe2c779c4bc6d556ff9fc836d2a4f2d4 Mon Sep 17 00:00:00 2001 From: huntc Date: Fri, 9 Jul 2021 10:25:50 +1000 Subject: [PATCH] ChannelState should be private --- embassy/src/util/mpsc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy/src/util/mpsc.rs b/embassy/src/util/mpsc.rs index 354c3e95..fc8006c3 100644 --- a/embassy/src/util/mpsc.rs +++ b/embassy/src/util/mpsc.rs @@ -400,7 +400,7 @@ pub trait ChannelLike { fn set_senders_waker(&mut self, senders_waker: Waker); } -pub struct ChannelState { +struct ChannelState { buf: [MaybeUninit>; N], read_pos: usize, write_pos: usize,