Skip to content

Commit 1521b53

Browse files
committed
Increase the format version of rustdoc-json-types
1 parent 74fbbef commit 1521b53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rustdoc-json-types/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ use std::path::PathBuf;
88

99
use serde::{Deserialize, Serialize};
1010

11+
/// rustdoc format-version.
12+
pub const FORMAT_VERSION: u32 = 10;
13+
1114
/// A `Crate` is the root of the emitted JSON blob. It contains all type/documentation information
1215
/// about the language items in the local crate, as well as info about external items to allow
1316
/// tools to find or link to them.
@@ -517,8 +520,5 @@ pub struct Static {
517520
pub expr: String,
518521
}
519522

520-
/// rustdoc format-version.
521-
pub const FORMAT_VERSION: u32 = 9;
522-
523523
#[cfg(test)]
524524
mod tests;

0 commit comments

Comments
 (0)