diff --git a/Cargo.lock b/Cargo.lock index c3ca36c..ffb71e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ [root] name = "rsmodules" -version = "0.5.9" +version = "0.5.8" dependencies = [ "bincode 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/src/script.rs b/src/script.rs index c860683..7f03630 100644 --- a/src/script.rs +++ b/src/script.rs @@ -406,8 +406,8 @@ fn description(desc: String) { INFO_DESCRIPTION.lock().unwrap().push(desc.replace("\"", "\\\"")); } -fn description_cache(desc: &str) { - add_to_info_general(desc); +fn description_cache(desc: String) { + add_to_info_general(&desc); } pub fn run(path: &PathBuf, action: &str) {