aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/layout/helper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc/layout/helper.rs')
-rw-r--r--src/rpc/layout/helper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/layout/helper.rs b/src/rpc/layout/helper.rs
index 2ba010b8..7e5d37e9 100644
--- a/src/rpc/layout/helper.rs
+++ b/src/rpc/layout/helper.rs
@@ -129,7 +129,7 @@ impl LayoutHelper {
where
F: FnOnce(&mut LayoutHistory) -> bool,
{
- let changed = f(&mut self.layout.as_mut().unwrap());
+ let changed = f(self.layout.as_mut().unwrap());
if changed {
*self = Self::new(
self.replication_mode,