Increase the format version of rustdoc-json-types
This commit is contained in:
@@ -8,6 +8,9 @@ use std::path::PathBuf;
|
|||||||
|
|
||||||
use serde::{Deserialize, Serialize};
|
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
|
/// 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
|
/// about the language items in the local crate, as well as info about external items to allow
|
||||||
/// tools to find or link to them.
|
/// tools to find or link to them.
|
||||||
@@ -517,8 +520,5 @@ pub struct Static {
|
|||||||
pub expr: String,
|
pub expr: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// rustdoc format-version.
|
|
||||||
pub const FORMAT_VERSION: u32 = 9;
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests;
|
mod tests;
|
||||||
|
|||||||
Reference in New Issue
Block a user