Skip to content

Commit

Permalink
Rollup merge of #128630 - bvanjoi:resolve-comment, r=petrochenkov
Browse files Browse the repository at this point in the history
docs(resolve): more explain about `target`

r? ```````@petrochenkov```````
  • Loading branch information
matthiaskrgr committed Aug 5, 2024
2 parents 74df517 + 249afea commit 227944d
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 227944d

Please sign in to comment.