Skip to content

Commit

Permalink
delete must_use attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
fruscianteee committed Sep 9, 2024
1 parent 482c5bb commit 99aba5b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion redis/src/cluster/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ impl Config {
/// Enables reading from replicas for the Redis cluster.
///
/// This method sets `read_from_replicas` to `true`.
#[must_use]
pub fn read_from_replicas(&mut self) {
self.read_from_replicas = true;
}
Expand Down

0 comments on commit 99aba5b

Please sign in to comment.