We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92ce795 commit 29371beCopy full SHA for 29371be
src/rustdoc-json-types/lib.rs
@@ -7,7 +7,11 @@ use rustc_hash::FxHashMap;
7
use serde::{Deserialize, Serialize};
8
use std::path::PathBuf;
9
10
-/// rustdoc format-version.
+/// The version of JSON output that this crate represents.
11
+///
12
+/// This integer is incremented with every breaking change to the API,
13
+/// and is returned along with the JSON blob as [`Crate::format_version`].
14
+/// Consuming code should assert that this value matches the format version(s) that it supports.
15
pub const FORMAT_VERSION: u32 = 31;
16
17
/// The root of the emitted JSON blob.
0 commit comments