Skip to content

Commit 01eacd8

Browse files
committed
Remove useless comment
1 parent 93974cb commit 01eacd8

File tree

1 file changed

+1
-1
lines changed
  • src/librustc/infer/anon_types

1 file changed

+1
-1
lines changed

src/librustc/infer/anon_types/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ impl<'a, 'gcx, 'tcx> Instantiator<'a, 'gcx, 'tcx> {
696696
let anon_parent_node_id = tcx.hir.get_parent(anon_node_id);
697697
parent_def_id == tcx.hir.local_def_id(anon_parent_node_id)
698698
};
699-
let in_definition_scope = match tcx.hir.find(anon_node_id) { // read recorded by `find`
699+
let in_definition_scope = match tcx.hir.find(anon_node_id) {
700700
Some(hir::map::NodeItem(item)) => match item.node {
701701
// impl trait
702702
hir::ItemKind::Existential(hir::ExistTy {

0 commit comments

Comments
 (0)