aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rpc/layout.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rpc/layout.rs b/src/rpc/layout.rs
index d0ee3463..40f97368 100644
--- a/src/rpc/layout.rs
+++ b/src/rpc/layout.rs
@@ -495,9 +495,7 @@ impl ClusterLayout {
zone: _,
capacity: Some(c),
tags: _,
- }) => {
- *c
- }
+ }) => *c,
_ => 0,
})
.collect();