avoid some clippy warnings

This commit is contained in:
Dietmar Maurer
2019-10-25 18:44:51 +02:00
parent f58f426e86
commit 834a2f95a0
13 changed files with 71 additions and 80 deletions

View File

@ -484,7 +484,7 @@ fn handle_static_file_download(filename: PathBuf) -> BoxFut {
}
});
return Box::new(response);
Box::new(response)
}
fn extract_auth_data(headers: &http::HeaderMap) -> (Option<String>, Option<String>) {