Skip to content

Commit

Permalink
Update comment.
Browse files Browse the repository at this point in the history
Empty idents are also disambiguated. This was added in rust-lang#115367.
  • Loading branch information
nnethercote committed Nov 8, 2024
1 parent 8d50e11 commit 89503ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_resolve/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ struct BindingKey {
/// identifier.
ident: Ident,
ns: Namespace,
/// 0 if ident is not `_`, otherwise a value that's unique to the specific
/// `_` in the expanded AST that introduced this binding.
/// 0 if ident is not `_` or ``, otherwise a value that's unique to the specific
/// `_`/`` in the expanded AST that introduced this binding.
disambiguator: u32,
}

Expand Down

0 comments on commit 89503ff

Please sign in to comment.