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.
1 parent 68c4f4f commit 5ee969cCopy full SHA for 5ee969c
src/lib.rs
@@ -330,7 +330,7 @@ pub enum PopError {
330
}
331
332
impl PopError {
333
- /// Returns `true` if the queue is empty.
+ /// Returns `true` if the queue is empty but not closed.
334
pub fn is_empty(&self) -> bool {
335
match self {
336
PopError::Empty => true,
@@ -386,7 +386,7 @@ impl<T> PushError<T> {
386
387
388
389
- /// Returns `true` if the queue is full.
+ /// Returns `true` if the queue is full but not closed.
390
pub fn is_full(&self) -> bool {
391
392
PushError::Full(_) => true,
0 commit comments