ChannelState should be private
This commit is contained in:
parent
3fdf61c819
commit
56b3e927fe
@ -400,7 +400,7 @@ pub trait ChannelLike<T> {
|
||||
fn set_senders_waker(&mut self, senders_waker: Waker);
|
||||
}
|
||||
|
||||
pub struct ChannelState<T, const N: usize> {
|
||||
struct ChannelState<T, const N: usize> {
|
||||
buf: [MaybeUninit<UnsafeCell<T>>; N],
|
||||
read_pos: usize,
|
||||
write_pos: usize,
|
||||
|
Loading…
Reference in New Issue
Block a user