File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- a856e57f6cc8ba8bb83c5abadce338f589df6b10
1
+ 0dc39c7bd9795927b903c8c24e89a00788ce3e33
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " rustdoc-types"
3
- version = " 0.13.0 "
3
+ version = " 0.13.1 "
4
4
authors = [
" Nixon Enraght-Moony <[email protected] >" ,
" The Rust Project Developers" ]
5
5
edition = " 2018"
6
6
license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -591,8 +591,11 @@ pub struct Import {
591
591
/// May be different from the last segment of `source` when renaming imports:
592
592
/// `use source as name;`
593
593
pub name : String ,
594
- /// The ID of the item being imported.
595
- pub id : Option < Id > , // FIXME is this actually ever None?
594
+ /// The ID of the item being imported. Will be `None` in case of re-exports of primitives:
595
+ /// ```rust
596
+ /// pub use i32 as my_i32;
597
+ /// ```
598
+ pub id : Option < Id > ,
596
599
/// Whether this import uses a glob: `use source::*;`
597
600
pub glob : bool ,
598
601
}
You can’t perform that action at this time.
0 commit comments