summaryrefslogtreecommitdiffstats
path: root/src/repl
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl')
-rw-r--r--src/repl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs
index eec43e8..b6c71a9 100644
--- a/src/repl/mod.rs
+++ b/src/repl/mod.rs
@@ -386,7 +386,7 @@ impl Repl {
}
".set" => match args {
Some(args) => {
- self.config.write().update(args)?;
+ Config::update(&self.config, args)?;
}
_ => {
println!("Usage: .set <key> <value>...")