Increase the format version of rustdoc-json-types

This commit is contained in:
Loïc BRANSTETT 2022-01-20 22:14:02 +01:00
parent 74fbbefea8
commit 1521b53c53

View file

@ -8,6 +8,9 @@ use std::path::PathBuf;
use serde::{Deserialize, Serialize};
/// rustdoc format-version.
pub const FORMAT_VERSION: u32 = 10;
/// 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
/// tools to find or link to them.
@ -517,8 +520,5 @@ pub struct Static {
pub expr: String,
}
/// rustdoc format-version.
pub const FORMAT_VERSION: u32 = 9;
#[cfg(test)]
mod tests;