configuration fixup editor

This commit is contained in:
Matthias Beyer 2015-12-30 03:02:19 +01:00
parent bab5614247
commit 7248eef3be

View file

@ -50,7 +50,7 @@ impl Configuration {
debug!(" - debugging : {}", debugging);
debug!(" - store sub : {}", store_sub);
debug!(" - runtimepath: {}", runtimepath);
debug!(" - editor : {}", editor.unwrap_or(String::from("")));
debug!(" - editor : {:?}", editor);
debug!(" - editor-opts: {}", editor_opts);
Configuration {
@ -80,7 +80,7 @@ impl Configuration {
}
pub fn editor(&self) -> Option<String> {
self.editor
self.editor.clone()
}
pub fn editor_opts(&self) -> &String {