parsers: clippy run
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
4c2fac0ac3
commit
1b635854ad
8 changed files with 21 additions and 20 deletions
|
|
@ -63,8 +63,7 @@ impl FromXmlText for HeaderName {
|
|||
_ => {
|
||||
return Err(Error::Other(
|
||||
"Header name must be either 'Authorization', 'Cookie', or 'Expires'.",
|
||||
)
|
||||
.into())
|
||||
))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue