Skip to content

Commit d537adc

Browse files
committed
zephyr: sync: channel: Fix typo in panic message
Fix so that it has valid grammar. Signed-off-by: David Brown <[email protected]>
1 parent a285ce1 commit d537adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zephyr/src/sync/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pub fn unbounded<T>() -> (Sender<T>, Receiver<T>) {
103103
/// with a capacity of zero.
104104
pub fn bounded<T>(cap: usize) -> (Sender<T>, Receiver<T>) {
105105
if cap == 0 {
106-
panic!("Zero capacity queues no supported on Zephyr");
106+
panic!("Zero capacity queues are not supported on Zephyr");
107107
}
108108

109109
let (s, r) = counter::new(Bounded::new(cap));

0 commit comments

Comments
 (0)