about summary refs log tree commit diff
diff options
context:
space:
mode:
authorX <6884440+dingxiangfei2009@users.noreply.github.com>2022-05-27 08:46:40 +0800
committerGitHub <noreply@github.com>2022-05-27 08:46:40 +0800
commitcd76f2e6090c6be8022a546e8a0238efa439dbfa (patch)
tree126c22412dfe00ef3a0c332213b0fe58d17cc25b
parent5ced8918fa311d8add4e72323070ee6a2eaad124 (diff)
downloadrust-cd76f2e6090c6be8022a546e8a0238efa439dbfa.tar.gz
rust-cd76f2e6090c6be8022a546e8a0238efa439dbfa.zip
remove trailing space
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
-rw-r--r--compiler/rustc_typeck/src/check/region.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_typeck/src/check/region.rs b/compiler/rustc_typeck/src/check/region.rs
index f4ec049a203..6c89c12b470 100644
--- a/compiler/rustc_typeck/src/check/region.rs
+++ b/compiler/rustc_typeck/src/check/region.rs
@@ -801,7 +801,7 @@ impl<'tcx> Visitor<'tcx> for RegionResolutionVisitor<'tcx> {
 /// Performance: This is a query rather than a simple function to enable
 /// re-use in incremental scenarios. We may sometimes need to rerun the
 /// type checker even when the HIR hasn't changed, and in those cases
-/// we can avoid reconstructing the region scope tree. 
+/// we can avoid reconstructing the region scope tree.
 pub fn region_scope_tree(tcx: TyCtxt<'_>, def_id: DefId) -> &ScopeTree {
     let typeck_root_def_id = tcx.typeck_root_def_id(def_id);
     if typeck_root_def_id != def_id {