Rename data to switches in example and src block.
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user