Made __non_exhaustive fields #[serde(skip)]
This commit is contained in:
parent
29f8b791f1
commit
89ea60e7a5
|
@ -26,6 +26,7 @@ pub struct PreprocessorContext {
|
|||
pub renderer: String,
|
||||
/// The calling `mdbook` version.
|
||||
pub mdbook_version: String,
|
||||
#[serde(skip)]
|
||||
__non_exhaustive: (),
|
||||
}
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@ pub struct RenderContext {
|
|||
/// renderers to cache intermediate results, this directory is not
|
||||
/// guaranteed to be empty or even exist.
|
||||
pub destination: PathBuf,
|
||||
#[serde(skip)]
|
||||
__non_exhaustive: (),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue