Use unused return value by wrapping in try!()
This commit is contained in:
parent
0a63bc8f4d
commit
b00befbcaf
1 changed files with 1 additions and 1 deletions
|
@ -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(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue