diff options
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(()) } |