diff options
author | Benjamin Sago <ogham@bsago.me> | 2017-03-26 17:35:50 +0100 |
---|---|---|
committer | Benjamin Sago <ogham@bsago.me> | 2017-03-26 17:35:50 +0100 |
commit | 3bce55f569f98e4e7816880de035cfa837123c74 (patch) | |
tree | 7be15a8ed6a821162ddd493b480f22b1d85122b6 /src/output/lines.rs | |
parent | c66a947a74f63332deef6e8b1b0bf0aa1727375e (diff) |
Run Untry over the entire source treev0.4.1
Diffstat (limited to 'src/output/lines.rs')
-rw-r--r-- | src/output/lines.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/lines.rs b/src/output/lines.rs index e531930..668900e 100644 --- a/src/output/lines.rs +++ b/src/output/lines.rs @@ -17,7 +17,7 @@ pub struct Lines { impl Lines { pub fn view<W: Write>(&self, files: Vec<File>, w: &mut W) -> IOResult<()> { for file in files { - try!(writeln!(w, "{}", ANSIStrings(&filename(&file, &self.colours, true)))); + writeln!(w, "{}", ANSIStrings(&filename(&file, &self.colours, true)))?; } Ok(()) } |