1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 10:27:42 +02:00

bump msrv to 1.51

This commit is contained in:
Rob Ede
2021-08-30 23:10:36 +01:00
parent 44c7b07ce2
commit c6f579790f
20 changed files with 21 additions and 15 deletions

View File

@ -1,6 +1,7 @@
# Changes
## Unreleased - 2020-xx-xx
* Minimum supported Rust version (MSRV) is now 1.51.
## 0.4.0-beta.2 - 2020-06-27

View File

@ -10,4 +10,4 @@
## Documentation & community resources
* [API Documentation](https://docs.rs/actix-identity)
* Minimum Supported Rust Version (MSRV): 1.46
* Minimum Supported Rust Version (MSRV): 1.51

View File

@ -109,10 +109,10 @@ impl CookieIdentityInner {
};
if add_cookie {
jar.private_mut(&key).add(cookie);
jar.private_mut(key).add(cookie);
} else {
jar.add_original(cookie.clone());
jar.private_mut(&key).remove(cookie);
jar.private_mut(key).remove(cookie);
}
for cookie in jar.delta() {