mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Skip rustfmt on to_filtered.
https://github.com/rust-lang-nursery/rustfmt/issues/1262
This commit is contained in:
parent
01114ebcf8
commit
b76613a389
1 changed files with 1 additions and 0 deletions
|
@ -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!(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue