configuration should return editor_opts() -> String

This commit is contained in:
Matthias Beyer 2016-01-02 19:26:39 +01:00
parent d68d0088e8
commit ad1a0e7f47

View file

@ -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()
}
}