Skip to content

Commit 95244a3

Browse files
committed
fix: compilation
1 parent 2e82e3c commit 95244a3

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ mod reader;
1414
pub mod request;
1515
pub mod response;
1616

17-
impl core::fmt::Display for Error {
18-
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
19-
write!(f, "{:?}", self)
20-
}
21-
}
22-
23-
impl core::error::Error for Error {}
24-
2517
/// Errors that can be returned by this library.
2618
#[derive(Debug)]
2719
#[cfg_attr(feature = "defmt", derive(defmt::Format))]

tests/connection.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ use reqwless::TryBufRead;
77
use std::net::{IpAddr, Ipv4Addr, SocketAddr, ToSocketAddrs};
88
use tokio::net::TcpStream;
99

10-
impl core::fmt::Display for TestError {
11-
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
12-
write!(f, "{:?}", self)
13-
}
14-
}
15-
16-
impl core::error::Error for TestError {}
17-
1810
#[derive(Debug)]
1911
pub struct TestError;
2012

0 commit comments

Comments
 (0)