mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 18:37:41 +02:00
bump msrv to 1.51
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
# Changes
|
||||
|
||||
## Unreleased - 2020-xx-xx
|
||||
* Minimum supported Rust version (MSRV) is now 1.51.
|
||||
|
||||
|
||||
## 0.10.0-beta.2 - 2020-06-27
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
- [API Documentation](https://docs.rs/actix-redis)
|
||||
- [Example Project](https://github.com/actix/examples/tree/HEAD/session/redis-session)
|
||||
- Minimum Supported Rust Version (MSRV): 1.46
|
||||
- Minimum Supported Rust Version (MSRV): 1.51
|
||||
|
||||
## Redis Session Backend
|
||||
|
||||
|
@ -241,7 +241,7 @@ impl Inner {
|
||||
|
||||
if let Some(cookie) = jar.signed(&self.key).get(&self.name) {
|
||||
let value = cookie.value().to_owned();
|
||||
let cache_key = (self.cache_keygen)(&cookie.value());
|
||||
let cache_key = (self.cache_keygen)(cookie.value());
|
||||
(value, cache_key)
|
||||
} else {
|
||||
return Ok(None);
|
||||
|
Reference in New Issue
Block a user