Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 35d272d

Browse files
author
Hitesh Paul
committed
Fix warning
1 parent 7875b42 commit 35d272d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stores/memcached.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl Handler<ActorMessage> for MemcacheStoreActor {
166166
fn handle(&mut self, msg: ActorMessage, ctx: &mut Self::Context) -> Self::Result {
167167
let pool = self.inner.clone();
168168
if let Some(p) = pool {
169-
if let Ok(mut client) = p.get() {
169+
if let Ok(client) = p.get() {
170170
match msg {
171171
ActorMessage::Set { key, value, expiry } => {
172172
ActorResponse::Set(Box::pin(async move {

0 commit comments

Comments
 (0)