Skip to content

Commit 95ce960

Browse files
authored
test(http1): fix non_fmt_panic warning (#2424)
1 parent 196d9bd commit 95ce960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proto/h1/decode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ mod tests {
490490
}
491491
};
492492
if state == ChunkedState::Body || state == ChunkedState::End {
493-
panic!(format!("Was Ok. Expected Err for {:?}", s));
493+
panic!("Was Ok. Expected Err for {:?}", s);
494494
}
495495
}
496496
}

0 commit comments

Comments
 (0)