docs(resolve): more explain about target
This commit is contained in:
parent
b389b0ab72
commit
249afea2ff
@ -48,6 +48,7 @@ pub(crate) enum ImportKind<'a> {
|
|||||||
/// `source` in `use prefix::source as target`.
|
/// `source` in `use prefix::source as target`.
|
||||||
source: Ident,
|
source: Ident,
|
||||||
/// `target` in `use prefix::source as target`.
|
/// `target` in `use prefix::source as target`.
|
||||||
|
/// It will directly use `source` when the format is `use prefix::source`.
|
||||||
target: Ident,
|
target: Ident,
|
||||||
/// Bindings to which `source` refers to.
|
/// Bindings to which `source` refers to.
|
||||||
source_bindings: PerNS<Cell<Result<NameBinding<'a>, Determinacy>>>,
|
source_bindings: PerNS<Cell<Result<NameBinding<'a>, Determinacy>>>,
|
||||||
|
Loading…
Reference in New Issue
Block a user