Update Rust version, deps and workflow

- Update Rust to v1.65.0
- Update dependencies
- Updated workflow files
- Added some extra clippy checks
- Fixed some clippy checks
This commit is contained in:
BlackDex
2022-11-04 12:56:02 +01:00
parent f60a6929a9
commit b010dde661
30 changed files with 147 additions and 154 deletions

View File

@ -109,7 +109,7 @@ impl Cors {
fn get_header(headers: &HeaderMap<'_>, name: &str) -> String {
match headers.get_one(name) {
Some(h) => h.to_string(),
_ => "".to_string(),
_ => String::new(),
}
}