Skip to content

Commit 1c4616d

Browse files
committed
Remove comments
1 parent cdd15b7 commit 1c4616d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc/hir/map/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,6 @@ impl<'hir> Map<'hir> {
864864
node: Node::Item(Item { kind: ItemKind::ForeignMod(ref nm), .. }), ..
865865
} = entry
866866
{
867-
self.read(hir_id); // reveals some of the content of a node
868867
return nm.abi;
869868
}
870869
}
@@ -873,7 +872,6 @@ impl<'hir> Map<'hir> {
873872

874873
pub fn expect_item(&self, id: HirId) -> &'hir Item<'hir> {
875874
match self.find(id) {
876-
// read recorded by `find`
877875
Some(Node::Item(item)) => item,
878876
_ => bug!("expected item, found {}", self.node_to_string(id)),
879877
}
@@ -923,7 +921,6 @@ impl<'hir> Map<'hir> {
923921

924922
pub fn expect_expr(&self, id: HirId) -> &'hir Expr<'hir> {
925923
match self.find(id) {
926-
// read recorded by find
927924
Some(Node::Expr(expr)) => expr,
928925
_ => bug!("expected expr, found {}", self.node_to_string(id)),
929926
}

0 commit comments

Comments
 (0)