diff options
author | Ben S <ogham@bsago.me> | 2014-11-24 02:12:52 +0000 |
---|---|---|
committer | Ben S <ogham@bsago.me> | 2014-11-24 02:13:54 +0000 |
commit | 5b7124bb71aa5f7052af3f900c54913a3554c1c5 (patch) | |
tree | aac2d4c9310ce61ca897372976ed24a7cbf443f6 /src/dir.rs | |
parent | d72be30c30c0c57375736154fd6b5293cb04d0d8 (diff) |
I like aligning things
Diffstat (limited to 'src/dir.rs')
-rw-r--r-- | src/dir.rs | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -25,12 +25,8 @@ impl<'a> Dir<'a> { for path in self.contents.iter() { match File::from_path(path, self) { - Ok(file) => { - files.push(file); - } - Err(e) => { - println!("{}: {}", path.display(), e); - } + Ok(file) => files.push(file), + Err(e) => println!("{}: {}", path.display(), e), } } |