mirror of https://github.com/fafhrd91/actix-web
clippy
This commit is contained in:
parent
a20e526971
commit
437c7d993b
|
@ -92,7 +92,7 @@ pub(crate) trait MessageType: Sized {
|
|||
}
|
||||
|
||||
header::CONTENT_LENGTH => match value.to_str() {
|
||||
Ok(s) if s.trim().starts_with("+") => {
|
||||
Ok(s) if s.trim().starts_with('+') => {
|
||||
debug!("illegal Content-Length: {:?}", s);
|
||||
return Err(ParseError::Header);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue