Skip to content

Commit

Permalink
v0.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aDotInTheVoid committed Aug 23, 2023
1 parent ec97625 commit 577a774
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<a name="v0.23.0"></a>
# [v0.23.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.23.0) - 2023-08-23
- Format Version: 27
- Upstream Commit: [`c90a5b2019e5a862c8fb5ae39dcf6ad5f4c65b09`](https://github.com/rust-lang/rust/commit/c90a5b2019e5a862c8fb5ae39dcf6ad5f4c65b09)
- Diff: [v0.23.0...v0.22.0](https://github.com/aDotInTheVoid/rustdoc-types/compare/v0.22.0...v0.23.0)

<a name="v0.22.0"></a>
# [v0.22.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.22.0) - 2023-05-23
- Format Version: 26
Expand Down
2 changes: 1 addition & 1 deletion COMMIT.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a5e51013753ca75c239403b47af1e605f5af2a64
c90a5b2019e5a862c8fb5ae39dcf6ad5f4c65b09
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustdoc-types"
version = "0.22.0"
version = "0.23.0"
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Types for rustdoc's json output"
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize};
use std::path::PathBuf;

/// rustdoc format-version.
pub const FORMAT_VERSION: u32 = 26;
pub const FORMAT_VERSION: u32 = 27;

/// A `Crate` is the root of the emitted JSON blob. It contains all type/documentation information
/// about the language items in the local crate, as well as info about external items to allow
Expand Down Expand Up @@ -203,7 +203,7 @@ pub enum ItemKind {
Enum,
Variant,
Function,
Typedef,
TypeAlias,
OpaqueTy,
Constant,
Trait,
Expand Down Expand Up @@ -242,7 +242,7 @@ pub enum ItemEnum {
TraitAlias(TraitAlias),
Impl(Impl),

Typedef(Typedef),
TypeAlias(TypeAlias),
OpaqueTy(OpaqueTy),
Constant(Constant),

Expand Down Expand Up @@ -696,7 +696,7 @@ pub enum MacroKind {
}

#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub struct Typedef {
pub struct TypeAlias {
#[serde(rename = "type")]
pub type_: Type,
pub generics: Generics,
Expand Down

0 comments on commit 577a774

Please sign in to comment.