Skip to content

Commit

Permalink
fix miri check
Browse files Browse the repository at this point in the history
  • Loading branch information
iawia002 committed Jul 30, 2024
1 parent 028d411 commit f4f2e52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wasi-keyvalue/src/provider/redis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl Host for Redis {
for (key, value) in key_values {
pipe.set(key, value).ignore();
}
pipe.query_async(&mut self.conn).await?;
let _: () = pipe.query_async(&mut self.conn).await?;
Ok(())
}

Expand All @@ -100,7 +100,7 @@ impl Host for Redis {
for key in keys {
pipe.del(key).ignore();
}
pipe.query_async(&mut self.conn).await?;
let _: () = pipe.query_async(&mut self.conn).await?;
Ok(())
}
}

0 comments on commit f4f2e52

Please sign in to comment.