Skip to content

Commit 1eb50be

Browse files
committed
1 parent 94ce4c4 commit 1eb50be

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<a name="v0.13.1"></a>
2+
# [v0.13.1](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.13.1) - 2022-08-10
3+
- Format Version: 17
4+
- Upstream Commit: [`0dc39c7bd9795927b903c8c24e89a00788ce3e33`](https://github.com/rust-lang/rust/commit/0dc39c7bd9795927b903c8c24e89a00788ce3e33)
5+
- Diff: [v0.13.1...v0.13.0](https://github.com/aDotInTheVoid/rustdoc-types/compare/v0.13.0...v0.13.1)
6+
17
<a name="v0.13.0"></a>
28
# [v0.13.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.13.0) - 2022-08-09
39
- Format Version: 17

COMMIT.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a856e57f6cc8ba8bb83c5abadce338f589df6b10
1+
0dc39c7bd9795927b903c8c24e89a00788ce3e33

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustdoc-types"
3-
version = "0.13.0"
3+
version = "0.13.1"
44
authors = ["Nixon Enraght-Moony <[email protected]>", "The Rust Project Developers"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

src/lib.rs

+5-2
Original file line numberDiff line numberDiff line change
@@ -591,8 +591,11 @@ pub struct Import {
591591
/// May be different from the last segment of `source` when renaming imports:
592592
/// `use source as name;`
593593
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>,
596599
/// Whether this import uses a glob: `use source::*;`
597600
pub glob: bool,
598601
}

0 commit comments

Comments
 (0)