From b76613a3891e6edccf32ceefa922f6c745f6ee8a Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 3 Jan 2017 15:05:34 +0100 Subject: [PATCH] Skip rustfmt on to_filtered. https://github.com/rust-lang-nursery/rustfmt/issues/1262 --- components/net_traits/response.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/net_traits/response.rs b/components/net_traits/response.rs index d93798be973..694922cec52 100644 --- a/components/net_traits/response.rs +++ b/components/net_traits/response.rs @@ -172,6 +172,7 @@ impl Response { /// Convert to a filtered response, of type `filter_type`. /// Do not use with type Error or Default + #[cfg_attr(rustfmt, rustfmt_skip)] pub fn to_filtered(self, filter_type: ResponseType) -> Response { match filter_type { ResponseType::Default | ResponseType::Error(..) => panic!(),