File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changes
2
2
3
+ ## [ 0.3.3] - 2022-07-07
4
+
5
+ * pubsub support #5
6
+
3
7
## [ 0.3.2] - 2022-05-04
4
8
5
9
* Add ` Keys ` command #4
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " ntex-redis"
3
- version = " 0.3.2 "
3
+ version = " 0.3.3 "
4
4
authors = [
" ntex contributors <[email protected] >" ]
5
5
description = " Redis client"
6
6
documentation = " https://docs.rs/ntex-redis"
Original file line number Diff line number Diff line change @@ -103,12 +103,12 @@ where
103
103
/// Connect to redis server and create shared client
104
104
pub fn connect ( & self ) -> impl Future < Output = Result < Client , ConnectError > > {
105
105
let fut = self . _connect ( ) ;
106
- async move { fut. await . map ( |io| Client :: new ( io ) ) }
106
+ async move { fut. await . map ( Client :: new) }
107
107
}
108
108
109
109
/// Connect to redis server and create simple client
110
110
pub fn connect_simple ( & self ) -> impl Future < Output = Result < SimpleClient , ConnectError > > {
111
111
let fut = self . _connect ( ) ;
112
- async move { fut. await . map ( |io| SimpleClient :: new ( io ) ) }
112
+ async move { fut. await . map ( SimpleClient :: new) }
113
113
}
114
114
}
You can’t perform that action at this time.
0 commit comments