Skip to content

Commit

Permalink
docs(resolve): more explain about target
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanjoi committed Aug 4, 2024
1 parent b389b0a commit 249afea
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 249afea

Please sign in to comment.