diff --git a/client/src/util.rs b/client/src/util.rs index edf365e..72112b1 100644 --- a/client/src/util.rs +++ b/client/src/util.rs @@ -172,9 +172,7 @@ pub fn print_peer_diff(store: &DataStore, diff: &PeerDiff) { pub fn all_installed(config_dir: &Path) -> Result, std::io::Error> { // All errors are bubbled up when enumerating a directory - let entries: Vec<_> = std::fs::read_dir(config_dir)? - .into_iter() - .collect::>()?; + let entries: Vec<_> = std::fs::read_dir(config_dir)?.collect::>()?; let installed: Vec<_> = entries .into_iter()