Skip to content

Commit b5d4d35

Browse files
committed
prep release
1 parent 15457f3 commit b5d4d35

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes
22

3+
## [0.3.3] - 2022-07-07
4+
5+
* pubsub support #5
6+
37
## [0.3.2] - 2022-05-04
48

59
* Add `Keys` command #4

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ntex-redis"
3-
version = "0.3.2"
3+
version = "0.3.3"
44
authors = ["ntex contributors <[email protected]>"]
55
description = "Redis client"
66
documentation = "https://docs.rs/ntex-redis"

src/connector.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ where
103103
/// Connect to redis server and create shared client
104104
pub fn connect(&self) -> impl Future<Output = Result<Client, ConnectError>> {
105105
let fut = self._connect();
106-
async move { fut.await.map(|io| Client::new(io)) }
106+
async move { fut.await.map(Client::new) }
107107
}
108108

109109
/// Connect to redis server and create simple client
110110
pub fn connect_simple(&self) -> impl Future<Output = Result<SimpleClient, ConnectError>> {
111111
let fut = self._connect();
112-
async move { fut.await.map(|io| SimpleClient::new(io)) }
112+
async move { fut.await.map(SimpleClient::new) }
113113
}
114114
}

0 commit comments

Comments
 (0)