Skip to content

Commit 2b6d6e1

Browse files
committed
typeck: fix minor formatting
Just a missing space between arguments. Signed-off-by: David Wood <[email protected]>
1 parent 910be1b commit 2b6d6e1

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_hir_typeck/src/fn_ctxt

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
467467
pub fn node_ty_opt(&self, id: hir::HirId) -> Option<Ty<'tcx>> {
468468
match self.typeck_results.borrow().node_types().get(id) {
469469
Some(&t) => Some(t),
470-
None if let Some(e) = self.tainted_by_errors() => Some(Ty::new_error(self.tcx,e)),
470+
None if let Some(e) = self.tainted_by_errors() => Some(Ty::new_error(self.tcx, e)),
471471
None => None,
472472
}
473473
}

0 commit comments

Comments
 (0)