summaryrefslogtreecommitdiffstats
path: root/src/dir.rs
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2014-11-24 02:12:52 +0000
committerBen S <ogham@bsago.me>2014-11-24 02:13:54 +0000
commit5b7124bb71aa5f7052af3f900c54913a3554c1c5 (patch)
treeaac2d4c9310ce61ca897372976ed24a7cbf443f6 /src/dir.rs
parentd72be30c30c0c57375736154fd6b5293cb04d0d8 (diff)
I like aligning things
Diffstat (limited to 'src/dir.rs')
-rw-r--r--src/dir.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/dir.rs b/src/dir.rs
index 3f2f140..5b531b8 100644
--- a/src/dir.rs
+++ b/src/dir.rs
@@ -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),
}
}