1
Fork 0

use fmt::Result where applicable

This commit is contained in:
Andre Bogus 2018-05-09 01:41:44 +02:00
parent 8ff4b42064
commit e333725664
13 changed files with 20 additions and 20 deletions

View file

@ -174,7 +174,7 @@ struct Elaborator<'a, 'b: 'a, 'tcx: 'b> {
}
impl<'a, 'b, 'tcx> fmt::Debug for Elaborator<'a, 'b, 'tcx> {
fn fmt(&self, _f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
fn fmt(&self, _f: &mut fmt::Formatter) -> fmt::Result {
Ok(())
}
}