Skip to content

Commit

Permalink
Fix move from borrowed content
Browse files Browse the repository at this point in the history
  • Loading branch information
eliihen committed Aug 1, 2016
1 parent e4eefb2 commit 105f21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub fn read_conf_file(xdg_home: &Option<String>) -> Option<Config> {
let config_folder = if cfg!(windows) {
String::from("%APPDATA%")
} else {
xdg_home.unwrap_or(String::from("~"))
xdg_home.clone().unwrap_or(String::from("~"))
};

// Assume system is $XDG_CONFIG_HOME compliant
Expand Down

0 comments on commit 105f21b

Please sign in to comment.