Skip to content

Commit c5270dc

Browse files
committed
clippy
1 parent fa828bc commit c5270dc

File tree

1 file changed

+2
-2
lines changed
  • trino-lb-persistence/src/redis

1 file changed

+2
-2
lines changed

trino-lb-persistence/src/redis/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,8 @@ where
483483
state: ClusterState,
484484
) -> Result<(), super::Error> {
485485
let key = cluster_state_key(cluster_name);
486-
let value = bincode::serde::encode_to_vec(&state, BINCODE_CONFIG)
487-
.context(SerializeToBinarySnafu)?;
486+
let value =
487+
bincode::serde::encode_to_vec(state, BINCODE_CONFIG).context(SerializeToBinarySnafu)?;
488488

489489
let _: () = self
490490
.connection()

0 commit comments

Comments
 (0)