fix clippy warnings
This commit is contained in:
1 parent
819a9d1e0c
commit
41b21d37e4
2 files changed
+2
No files matched your search
@@ -30,6 +30,7 @@ where
|
||||
handlers.insert(path.to_string(), Box::new(handler));
|
||||
}
|
||||
|
||||
#[allow(clippy::write_with_newline)]
|
||||
pub fn make_response(
|
||||
status: u16,
|
||||
status_text: &str,
|
||||
|
||||
@@ -255,6 +255,7 @@ fn connect_socket(unit: &Unit, use_pooled: bool) -> Result<(Stream, bool), Error
|
||||
}
|
||||
|
||||
/// Send request line + headers (all up until the body).
|
||||
#[allow(clippy::write_with_newline)]
|
||||
fn send_prelude(unit: &Unit, stream: &mut Stream, redir: bool) -> IoResult<()> {
|
||||
//
|
||||
|
||||
|
||||
Reference in new issue
Block a user