Rename data to switches in example and src block.

This commit is contained in:
Tom Alexander
2023-10-04 09:55:00 -04:00
parent bf038db31c
commit 1d7770e590
4 changed files with 8 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ pub struct CommentBlock<'s> {
pub struct ExampleBlock<'s> {
pub source: &'s str,
pub name: &'s str,
pub data: Option<&'s str>,
pub switches: Option<&'s str>,
pub contents: &'s str,
}
@@ -56,7 +56,7 @@ pub struct ExportBlock<'s> {
pub struct SrcBlock<'s> {
pub source: &'s str,
pub name: &'s str,
pub data: Option<&'s str>,
pub switches: Option<&'s str>,
pub contents: &'s str,
}