Cargo fmt

This commit is contained in:
Mateusz Mikuła
2019-03-18 12:31:49 +01:00
committed by Mateusz Mikuła
parent 664391c5f8
commit 6cb0605600
3 changed files with 58 additions and 60 deletions

View File

@@ -146,7 +146,7 @@ impl<'tcx> Printer<'tcx, 'tcx> for AbsolutePathPrinter<'_, 'tcx> {
return self.print_def_path(def.did, substs);
}
}
// This shouldn't ever be needed, but just in case:
Ok(vec![match trait_ref {
Some(trait_ref) => Symbol::intern(&format!("{:?}", trait_ref)).as_str(),