Skip to content

Commit 577a774

Browse files
committed
1 parent ec97625 commit 577a774

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<a name="v0.23.0"></a>
2+
# [v0.23.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.23.0) - 2023-08-23
3+
- Format Version: 27
4+
- Upstream Commit: [`c90a5b2019e5a862c8fb5ae39dcf6ad5f4c65b09`](https://github.com/rust-lang/rust/commit/c90a5b2019e5a862c8fb5ae39dcf6ad5f4c65b09)
5+
- Diff: [v0.23.0...v0.22.0](https://github.com/aDotInTheVoid/rustdoc-types/compare/v0.22.0...v0.23.0)
6+
17
<a name="v0.22.0"></a>
28
# [v0.22.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.22.0) - 2023-05-23
39
- Format Version: 26

COMMIT.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a5e51013753ca75c239403b47af1e605f5af2a64
1+
c90a5b2019e5a862c8fb5ae39dcf6ad5f4c65b09

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.22.0"
3+
version = "0.23.0"
44
edition = "2018"
55
license = "MIT OR Apache-2.0"
66
description = "Types for rustdoc's json output"

src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize};
88
use std::path::PathBuf;
99

1010
/// rustdoc format-version.
11-
pub const FORMAT_VERSION: u32 = 26;
11+
pub const FORMAT_VERSION: u32 = 27;
1212

1313
/// A `Crate` is the root of the emitted JSON blob. It contains all type/documentation information
1414
/// about the language items in the local crate, as well as info about external items to allow
@@ -203,7 +203,7 @@ pub enum ItemKind {
203203
Enum,
204204
Variant,
205205
Function,
206-
Typedef,
206+
TypeAlias,
207207
OpaqueTy,
208208
Constant,
209209
Trait,
@@ -242,7 +242,7 @@ pub enum ItemEnum {
242242
TraitAlias(TraitAlias),
243243
Impl(Impl),
244244

245-
Typedef(Typedef),
245+
TypeAlias(TypeAlias),
246246
OpaqueTy(OpaqueTy),
247247
Constant(Constant),
248248

@@ -696,7 +696,7 @@ pub enum MacroKind {
696696
}
697697

698698
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
699-
pub struct Typedef {
699+
pub struct TypeAlias {
700700
#[serde(rename = "type")]
701701
pub type_: Type,
702702
pub generics: Generics,

0 commit comments

Comments
 (0)