diff --git a/src/configuration.rs b/src/configuration.rs index 7671bef7..b783c734 100644 --- a/src/configuration.rs +++ b/src/configuration.rs @@ -65,8 +65,8 @@ impl Configuration { self.editor.clone() } - pub fn editor_opts(&self) -> &String { - &self.editor_opts + pub fn editor_opts(&self) -> String { + self.editor_opts.clone() } }