Skip to content

Commit

Permalink
test(http1): fix non_fmt_panic warning (hyperium#2424)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e authored Feb 6, 2021
1 parent 196d9bd commit 95ce960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proto/h1/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ mod tests {
}
};
if state == ChunkedState::Body || state == ChunkedState::End {
panic!(format!("Was Ok. Expected Err for {:?}", s));
panic!("Was Ok. Expected Err for {:?}", s);
}
}
}
Expand Down

0 comments on commit 95ce960

Please sign in to comment.