Fix `features` typo in ArrayQueue's error types
Currenly, `PushError` and `PopError` do not implement `std::error::Error` even when `std` feature is activated :(
@@ -16,7 +16,7 @@ impl fmt::Display for PopError {
}
}
-#[cfg(features = "std")]
+#[cfg(feature = "std")]
impl std::error::Error for PopError {
fn description(&self) -> &str {
"popping from an empty queue"
@@ -39,7 +39,7 @@ impl<T> fmt::Display for PushError<T> {
}
}
-#[cfg(features = "std")]
+#[cfg(feature = "std")]
impl<T: Send> std::error::Error for PushError<T> {
fn description(&self) -> &str {
"pushing into a full queue"
