xxchan commented on code in PR #4953:
URL: https://github.com/apache/opendal/pull/4953#discussion_r1700362691
##########
core/src/services/redis/backend.rs:
##########
@@ -439,10 +439,10 @@ impl kv::Adapter for Adapter {
let conn = self.conn().await?;
match conn {
RedisConnection::Normal(mut conn) => {
- conn.append(key, value).await.map_err(format_redis_error)?;
+ () = conn.append(key,
value).await.map_err(format_redis_error)?;
Review Comment:
Specifically, `conn.append` returns `T: FromRedisValue`. The statement
`conn.append();`'s type inference will lead to `!`. The change makes it
inference to `()`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]