aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorBlackDex <[email protected]>2022-11-04 12:56:02 +0100
committerBlackDex <[email protected]>2022-11-08 14:03:31 +0100
commitb010dde6613fbdcf4c273dfe9b83402e0e10cc51 (patch)
tree7146dc082206f8356e9d3d1ec0ddc84a6ff5f582 /src/util.rs
parentf60a6929a9a289bd39c38eeb793ebf54c4d88199 (diff)
downloadvaultwarden-b010dde6613fbdcf4c273dfe9b83402e0e10cc51.tar.gz
vaultwarden-b010dde6613fbdcf4c273dfe9b83402e0e10cc51.zip
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
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs
index f25a86fd..741b691a 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -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(),
}
}