Skip to content

Commit

Permalink
We are still not core::error::Error
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Sep 5, 2024
1 parent 65a0818 commit 4db783a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commons/zenoh-protocol/src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use core::{
hash::Hash,
str::FromStr,
};
use std::error::Error;

use serde::Serialize;
pub use uhlc::{Timestamp, NTP64};
Expand Down Expand Up @@ -456,7 +455,8 @@ impl Display for InvalidReliability {
}
}

impl Error for InvalidReliability {}
#[cfg(feature = "std")]
impl std::error::Error for InvalidReliability {}

impl FromStr for Reliability {
type Err = InvalidReliability;
Expand Down

0 comments on commit 4db783a

Please sign in to comment.