Upgrade to Rust 1.34.0 (#3781)

* Upgrade to Rust 1.34.0

* Remove redundant closures

Thanks Clippy!
This commit is contained in:
Greg Fitzgerald
2019-04-15 15:56:08 -06:00
committed by GitHub
parent 3e1214a871
commit 80f3568062
9 changed files with 12 additions and 12 deletions

View File

@ -214,7 +214,7 @@ pub struct Accounts {
}
fn get_paths_vec(paths: &str) -> Vec<String> {
paths.split(',').map(|s| s.to_string()).collect()
paths.split(',').map(ToString::to_string).collect()
}
impl Drop for Accounts {