From 6a6f2554b49c115f6fb096c2ae45443cdf63be89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Thu, 7 May 2020 22:07:46 +0200 Subject: [PATCH] Make sure `config_mut` returns a mutable reference (#5942) --- substrate/client/cli/src/runner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/client/cli/src/runner.rs b/substrate/client/cli/src/runner.rs index 3b75dc4bc1..10e98906bf 100644 --- a/substrate/client/cli/src/runner.rs +++ b/substrate/client/cli/src/runner.rs @@ -248,7 +248,7 @@ impl Runner { } /// Get a mutable reference to the node Configuration - pub fn config_mut(&mut self) -> &Configuration { + pub fn config_mut(&mut self) -> &mut Configuration { &mut self.config } }