1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-19 12:25:37 +02:00

Fix clippy warning (#755)

This commit is contained in:
nasa
2019-04-05 18:34:24 +09:00
committed by Douman
parent 309c480782
commit a655bdac52
5 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ impl<'a> SignedJar<'a> {
#[doc(hidden)]
pub fn new(parent: &'a mut CookieJar, key: &Key) -> SignedJar<'a> {
SignedJar {
parent: parent,
parent,
key: SigningKey::new(HMAC_DIGEST, key.signing()),
}
}