Merge pull request #1183 from MJDSys/nightly_unused_unimplemented

fix(lib): Remove unused unimplemented! macro.
This commit is contained in:
Sean McArthur
2017-05-22 10:26:30 -07:00
committed by GitHub

View File

@@ -46,18 +46,6 @@ pub use status::StatusCode::{self, Ok, BadRequest, NotFound};
pub use server::Server;
pub use version::HttpVersion;
macro_rules! unimplemented {
() => ({
panic!("unimplemented")
});
($msg:expr) => ({
unimplemented!("{}", $msg)
});
($fmt:expr, $($arg:tt)*) => ({
panic!(concat!("unimplemented: ", $fmt), $($arg)*)
});
}
#[cfg(test)]
mod mock;
pub mod client;