Skip to content

Commit ed25301

Browse files
committed
v0.5.0
1 parent 0fcf050 commit ed25301

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

COMMIT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2a6022949077176bfff9f72282dc52e51a175cb7
1+
43f4ef5c6a059c32e19483ff3d295feb2f37c5b8

Cargo.toml

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

src/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ pub enum ItemEnum {
221221
Macro(String),
222222
ProcMacro(ProcMacro),
223223

224+
PrimitiveType(String),
225+
224226
AssocConst {
225227
#[serde(rename = "type")]
226228
type_: Type,
@@ -386,8 +388,6 @@ pub enum Type {
386388
},
387389
/// `impl TraitA + TraitB + ...`
388390
ImplTrait(Vec<GenericBound>),
389-
/// `!`
390-
Never,
391391
/// `_`
392392
Infer,
393393
/// `*mut u32`, `*u8`, etc.
@@ -510,5 +510,8 @@ pub struct Static {
510510
pub expr: String,
511511
}
512512

513+
/// rustdoc format-version.
514+
pub const FORMAT_VERSION: u32 = 9;
515+
513516
#[cfg(test)]
514517
mod tests;

0 commit comments

Comments
 (0)