Disallow nightly failures (#115)
Always install rustfmt since nightly may change underneath it, causing linking to break. Apply rustfmt
This commit is contained in:
committed by
Sean McArthur
parent
a72a6bc8f0
commit
dad113e17b
@@ -154,8 +154,8 @@ where
|
||||
}
|
||||
|
||||
if !stream.content_length.is_head() {
|
||||
use http::header;
|
||||
use super::stream::ContentLength;
|
||||
use http::header;
|
||||
|
||||
if let Some(content_length) = frame.fields().get(header::CONTENT_LENGTH) {
|
||||
let content_length = match parse_u64(content_length.as_bytes()) {
|
||||
|
||||
Reference in New Issue
Block a user