Skip to content

Conversation

nrc
Copy link
Member

@nrc nrc commented Oct 14, 2015

With this change, normalised node ids correspond to def id indices where they exist, or are made disjoint from def ids otherwise.

r? @nikomatsakis

}
}

fn normalize_node_id(&self, id: NodeId) -> usize {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I think the purpose of this function merits a comment.

@nikomatsakis
Copy link
Contributor

r+ with a comment indicating what purpose normalize_node_id serves

With this change, normalised node ids correspond to def id indices where they exist, or are made disjoint from def ids otherwise.
@nrc
Copy link
Member Author

nrc commented Oct 14, 2015

@bors r=@nikomatsakis

@bors
Copy link
Collaborator

bors commented Oct 14, 2015

📌 Commit 06b5a95 has been approved by @nikomatsakis

@bors
Copy link
Collaborator

bors commented Oct 15, 2015

⌛ Testing commit 06b5a95 with merge 7ac89d2...

bors added a commit that referenced this pull request Oct 15, 2015
With this change, normalised node ids correspond to def id indices where they exist, or are made disjoint from def ids otherwise.

r? @nikomatsakis
@bors bors merged commit 06b5a95 into rust-lang:master Oct 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants