Make sure config_mut returns a mutable reference (#5942)

This commit is contained in:
Bastian Köcher
2020-05-07 22:07:46 +02:00
committed by GitHub
parent a8fac92396
commit 6a6f2554b4
+1 -1
View File
@@ -248,7 +248,7 @@ impl<C: SubstrateCli> Runner<C> {
}
/// 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
}
}