diff options
Diffstat (limited to 'components/net_traits')
-rw-r--r-- | components/net_traits/response.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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!(), |