Use unused return value by wrapping in try!()

This commit is contained in:
Matthias Beyer 2016-01-05 16:33:13 +01:00
parent 0a63bc8f4d
commit b00befbcaf

View file

@ -496,7 +496,7 @@ impl<'a> Module<'a> for Notes<'a> {
impl<'a> Debug for Notes<'a> { impl<'a> Debug for Notes<'a> {
fn fmt(&self, fmt: &mut Formatter) -> FMTResult { fn fmt(&self, fmt: &mut Formatter) -> FMTResult {
write!(fmt, "[Module][Notes]"); try!(write!(fmt, "[Module][Notes]"));
Ok(()) Ok(())
} }