remove trailing space
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
This commit is contained in:
parent
5ced8918fa
commit
cd76f2e609
1 changed files with 1 additions and 1 deletions
|
@ -801,7 +801,7 @@ impl<'tcx> Visitor<'tcx> for RegionResolutionVisitor<'tcx> {
|
||||||
/// Performance: This is a query rather than a simple function to enable
|
/// Performance: This is a query rather than a simple function to enable
|
||||||
/// re-use in incremental scenarios. We may sometimes need to rerun the
|
/// 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
|
/// 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 {
|
pub fn region_scope_tree(tcx: TyCtxt<'_>, def_id: DefId) -> &ScopeTree {
|
||||||
let typeck_root_def_id = tcx.typeck_root_def_id(def_id);
|
let typeck_root_def_id = tcx.typeck_root_def_id(def_id);
|
||||||
if typeck_root_def_id != def_id {
|
if typeck_root_def_id != def_id {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue