fix clippy warnings
This commit is contained in:
@@ -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