Rollup merge of #128630 - bvanjoi:resolve-comment, r=petrochenkov

docs(resolve): more explain about `target`

r? ```````@petrochenkov```````
This commit is contained in:
Matthias Krüger 2024-08-05 08:22:24 +02:00 committed by GitHub
commit 227944defd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>>>,