Skip to content

Commit b453734

Browse files
authored
Unrolled build for rust-lang#128630
Rollup merge of rust-lang#128630 - bvanjoi:resolve-comment, r=petrochenkov docs(resolve): more explain about `target` r? ```````@petrochenkov```````
2 parents 29e9248 + 249afea commit b453734

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_resolve/src/imports.rs

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ pub(crate) enum ImportKind<'a> {
4848
/// `source` in `use prefix::source as target`.
4949
source: Ident,
5050
/// `target` in `use prefix::source as target`.
51+
/// It will directly use `source` when the format is `use prefix::source`.
5152
target: Ident,
5253
/// Bindings to which `source` refers to.
5354
source_bindings: PerNS<Cell<Result<NameBinding<'a>, Determinacy>>>,

0 commit comments

Comments
 (0)