Upgrade to Rust 1.34.0 (#3781)
* Upgrade to Rust 1.34.0 * Remove redundant closures Thanks Clippy!
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user