We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2390ab7 + 46d6f1d commit e7c4c7bCopy full SHA for e7c4c7b
src/spsc.rs
@@ -94,7 +94,7 @@ use core::{
94
95
/// A statically allocated single producer single consumer queue with a capacity of `N - 1` elements
96
///
97
-/// *IMPORTANT*: To get better performance use a capacity that is a power of 2 (e.g. `16`, `32`,
+/// *IMPORTANT*: To get better performance use a value for `N` that is a power of 2 (e.g. `16`, `32`,
98
/// etc.).
99
pub struct Queue<T, const N: usize> {
100
// this is from where we dequeue items
0 commit comments