Skip to content

Commit ac40b45

Browse files
committed
fix(lib): Remove unused unimplemented! macro.
This macro isn't used anywhere, std now has an unimplemented macro if we want to use it, and the nightly compiler now warns that this unused. This warning is a failure when compiling tests.
1 parent 12d01e4 commit ac40b45

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/lib.rs

-12
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,6 @@ pub use status::StatusCode::{self, Ok, BadRequest, NotFound};
4646
pub use server::Server;
4747
pub use version::HttpVersion;
4848

49-
macro_rules! unimplemented {
50-
() => ({
51-
panic!("unimplemented")
52-
});
53-
($msg:expr) => ({
54-
unimplemented!("{}", $msg)
55-
});
56-
($fmt:expr, $($arg:tt)*) => ({
57-
panic!(concat!("unimplemented: ", $fmt), $($arg)*)
58-
});
59-
}
60-
6149
#[cfg(test)]
6250
mod mock;
6351
pub mod client;

0 commit comments

Comments
 (0)