mirror of
https://github.com/YGGverse/titanite.git
synced 2026-04-01 09:35:36 +00:00
apply clippy
This commit is contained in:
parent
44419afc16
commit
20d58b6be1
17 changed files with 17 additions and 17 deletions
|
|
@ -19,7 +19,7 @@ impl CgiError {
|
|||
bail!("Invalid status code")
|
||||
}
|
||||
Ok(Self {
|
||||
message: String::from_utf8((&h[3..]).to_vec()).map(|m| {
|
||||
message: String::from_utf8((h[3..]).to_vec()).map(|m| {
|
||||
if m.is_empty() {
|
||||
None
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue