Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions crossbeam-queue/src/err.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ impl fmt::Display for PopError {
}
}

#[cfg(features = "std")]
impl std::error::Error for PopError {
#[cfg(feature = "std")]
impl ::std::error::Error for PopError {
fn description(&self) -> &str {
"popping from an empty queue"
}
Expand All @@ -39,8 +39,8 @@ impl<T> fmt::Display for PushError<T> {
}
}

#[cfg(features = "std")]
impl<T: Send> std::error::Error for PushError<T> {
#[cfg(feature = "std")]
impl<T: Send> ::std::error::Error for PushError<T> {
fn description(&self) -> &str {
"pushing into a full queue"
}
Expand Down