Skip to content

Commit

Permalink
Rollup merge of rust-lang#128630 - bvanjoi:resolve-comment, r=petroch…
Browse files Browse the repository at this point in the history
…enkov

docs(resolve): more explain about `target`

r? ```@petrochenkov```
  • Loading branch information
matthiaskrgr authored Aug 4, 2024
2 parents de80993 + 249afea commit b8b1b22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_resolve/src/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pub(crate) enum ImportKind<'a> {
/// `source` in `use prefix::source as target`.
source: Ident,
/// `target` in `use prefix::source as target`.
/// It will directly use `source` when the format is `use prefix::source`.
target: Ident,
/// Bindings to which `source` refers to.
source_bindings: PerNS<Cell<Result<NameBinding<'a>, Determinacy>>>,
Expand Down

0 comments on commit b8b1b22

Please sign in to comment.