Skip to content

Commit 860fa2f

Browse files
ariloustbuehler
authored andcommitted
enable all Error impls in no-std (actually making std-feature unused) (#19)
This should have been included in 9629dec.
1 parent 8e974f2 commit 860fa2f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/errors.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ impl fmt::Display for NetworkParseError {
8181
}
8282
}
8383

84-
#[cfg(feature = "std")]
8584
impl Error for NetworkParseError {
8685
fn description(&self) -> &str {
8786
"network parse error"
@@ -137,7 +136,6 @@ impl fmt::Display for InetTupleError {
137136
}
138137
}
139138

140-
#[cfg(feature = "std")]
141139
impl Error for InetTupleError {
142140
fn description(&self) -> &str {
143141
"inet tuple error"

0 commit comments

Comments
 (0)