Run cargo fix.

This commit is contained in:
Tom Alexander
2023-10-29 22:31:29 -04:00
parent ff57242434
commit ada11816fb
107 changed files with 248 additions and 248 deletions

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderAngleLink {}
impl RenderAngleLink {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IAngleLink,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IAngleLink,
) -> Result<RenderAngleLink, CustomError> {
Ok(RenderAngleLink {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderBabelCall {}
impl RenderBabelCall {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IBabelCall,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IBabelCall,
) -> Result<RenderBabelCall, CustomError> {
Ok(RenderBabelCall {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderBold {}
impl RenderBold {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IBold,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IBold,
) -> Result<RenderBold, CustomError> {
Ok(RenderBold {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderCenterBlock {}
impl RenderCenterBlock {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &ICenterBlock,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &ICenterBlock,
) -> Result<RenderCenterBlock, CustomError> {
Ok(RenderCenterBlock {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderCitation {}
impl RenderCitation {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &ICitation,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &ICitation,
) -> Result<RenderCitation, CustomError> {
Ok(RenderCitation {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderCitationReference {}
impl RenderCitationReference {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &ICitationReference,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &ICitationReference,
) -> Result<RenderCitationReference, CustomError> {
Ok(RenderCitationReference {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderClock {}
impl RenderClock {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IClock,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IClock,
) -> Result<RenderClock, CustomError> {
Ok(RenderClock {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderCode {}
impl RenderCode {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &ICode,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &ICode,
) -> Result<RenderCode, CustomError> {
Ok(RenderCode {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderComment {}
impl RenderComment {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IComment,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IComment,
) -> Result<RenderComment, CustomError> {
Ok(RenderComment {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderCommentBlock {}
impl RenderCommentBlock {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &ICommentBlock,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &ICommentBlock,
) -> Result<RenderCommentBlock, CustomError> {
Ok(RenderCommentBlock {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderDiarySexp {}
impl RenderDiarySexp {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IDiarySexp,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IDiarySexp,
) -> Result<RenderDiarySexp, CustomError> {
Ok(RenderDiarySexp {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderDrawer {}
impl RenderDrawer {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IDrawer,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IDrawer,
) -> Result<RenderDrawer, CustomError> {
Ok(RenderDrawer {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderDynamicBlock {}
impl RenderDynamicBlock {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IDynamicBlock,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IDynamicBlock,
) -> Result<RenderDynamicBlock, CustomError> {
Ok(RenderDynamicBlock {})
}

View File

@@ -15,9 +15,9 @@ pub(crate) struct RenderEntity {
impl RenderEntity {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
entity: &IEntity,
) -> Result<RenderEntity, CustomError> {
Ok(RenderEntity {

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderExampleBlock {}
impl RenderExampleBlock {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IExampleBlock,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IExampleBlock,
) -> Result<RenderExampleBlock, CustomError> {
Ok(RenderExampleBlock {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderExportBlock {}
impl RenderExportBlock {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IExportBlock,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IExportBlock,
) -> Result<RenderExportBlock, CustomError> {
Ok(RenderExportBlock {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderExportSnippet {}
impl RenderExportSnippet {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IExportSnippet,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IExportSnippet,
) -> Result<RenderExportSnippet, CustomError> {
Ok(RenderExportSnippet {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderFixedWidthArea {}
impl RenderFixedWidthArea {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IFixedWidthArea,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IFixedWidthArea,
) -> Result<RenderFixedWidthArea, CustomError> {
Ok(RenderFixedWidthArea {})
}

View File

@@ -17,10 +17,10 @@ pub(crate) struct RenderFootnoteDefinition {}
impl RenderFootnoteDefinition {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IFootnoteDefinition,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IFootnoteDefinition,
) -> Result<RenderFootnoteDefinition, CustomError> {
Ok(RenderFootnoteDefinition {})
}

View File

@@ -17,9 +17,9 @@ pub(crate) struct RenderFootnoteReference {
impl RenderFootnoteReference {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
original: &IFootnoteReference,
) -> Result<RenderFootnoteReference, CustomError> {
Ok(RenderFootnoteReference {

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderHorizontalRule {}
impl RenderHorizontalRule {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IHorizontalRule,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IHorizontalRule,
) -> Result<RenderHorizontalRule, CustomError> {
Ok(RenderHorizontalRule {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderInlineBabelCall {}
impl RenderInlineBabelCall {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IInlineBabelCall,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IInlineBabelCall,
) -> Result<RenderInlineBabelCall, CustomError> {
Ok(RenderInlineBabelCall {})
}

View File

@@ -15,9 +15,9 @@ pub(crate) struct RenderInlineSourceBlock {
impl RenderInlineSourceBlock {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
original: &IInlineSourceBlock,
) -> Result<RenderInlineSourceBlock, CustomError> {
Ok(RenderInlineSourceBlock {

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderItalic {}
impl RenderItalic {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IItalic,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IItalic,
) -> Result<RenderItalic, CustomError> {
Ok(RenderItalic {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderKeyword {}
impl RenderKeyword {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
keyword: &IKeyword,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_keyword: &IKeyword,
) -> Result<RenderKeyword, CustomError> {
Ok(RenderKeyword {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderLatexEnvironment {}
impl RenderLatexEnvironment {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &ILatexEnvironment,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &ILatexEnvironment,
) -> Result<RenderLatexEnvironment, CustomError> {
Ok(RenderLatexEnvironment {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderLatexFragment {}
impl RenderLatexFragment {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &ILatexFragment,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &ILatexFragment,
) -> Result<RenderLatexFragment, CustomError> {
Ok(RenderLatexFragment {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderLineBreak {}
impl RenderLineBreak {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &ILineBreak,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &ILineBreak,
) -> Result<RenderLineBreak, CustomError> {
Ok(RenderLineBreak {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderOrgMacro {}
impl RenderOrgMacro {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IOrgMacro,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IOrgMacro,
) -> Result<RenderOrgMacro, CustomError> {
Ok(RenderOrgMacro {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderPlainLink {}
impl RenderPlainLink {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IPlainLink,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IPlainLink,
) -> Result<RenderPlainLink, CustomError> {
Ok(RenderPlainLink {})
}

View File

@@ -15,9 +15,9 @@ pub(crate) struct RenderPlainText {
impl RenderPlainText {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
original: &IPlainText,
) -> Result<RenderPlainText, CustomError> {
Ok(RenderPlainText {

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderPlanning {}
impl RenderPlanning {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IPlanning,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IPlanning,
) -> Result<RenderPlanning, CustomError> {
Ok(RenderPlanning {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderPropertyDrawer {}
impl RenderPropertyDrawer {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IPropertyDrawer,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IPropertyDrawer,
) -> Result<RenderPropertyDrawer, CustomError> {
Ok(RenderPropertyDrawer {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderRadioLink {}
impl RenderRadioLink {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IRadioLink,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IRadioLink,
) -> Result<RenderRadioLink, CustomError> {
Ok(RenderRadioLink {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderRadioTarget {}
impl RenderRadioTarget {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IRadioTarget,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IRadioTarget,
) -> Result<RenderRadioTarget, CustomError> {
Ok(RenderRadioTarget {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderSpecialBlock {}
impl RenderSpecialBlock {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &ISpecialBlock,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &ISpecialBlock,
) -> Result<RenderSpecialBlock, CustomError> {
Ok(RenderSpecialBlock {})
}

View File

@@ -15,9 +15,9 @@ pub(crate) struct RenderSrcBlock {
impl RenderSrcBlock {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
original: &ISrcBlock,
) -> Result<RenderSrcBlock, CustomError> {
Ok(RenderSrcBlock {

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderStatisticsCookie {}
impl RenderStatisticsCookie {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IStatisticsCookie,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IStatisticsCookie,
) -> Result<RenderStatisticsCookie, CustomError> {
Ok(RenderStatisticsCookie {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderStrikeThrough {}
impl RenderStrikeThrough {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IStrikeThrough,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IStrikeThrough,
) -> Result<RenderStrikeThrough, CustomError> {
Ok(RenderStrikeThrough {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderSubscript {}
impl RenderSubscript {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &ISubscript,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &ISubscript,
) -> Result<RenderSubscript, CustomError> {
Ok(RenderSubscript {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderSuperscript {}
impl RenderSuperscript {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &ISuperscript,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &ISuperscript,
) -> Result<RenderSuperscript, CustomError> {
Ok(RenderSuperscript {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderTable {}
impl RenderTable {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &ITable,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &ITable,
) -> Result<RenderTable, CustomError> {
Ok(RenderTable {})
}

View File

@@ -15,9 +15,9 @@ pub(crate) struct RenderTarget {
impl RenderTarget {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
target: &ITarget,
) -> Result<RenderTarget, CustomError> {
Ok(RenderTarget {

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderTimestamp {}
impl RenderTimestamp {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &ITimestamp,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &ITimestamp,
) -> Result<RenderTimestamp, CustomError> {
Ok(RenderTimestamp {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderUnderline {}
impl RenderUnderline {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IUnderline,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IUnderline,
) -> Result<RenderUnderline, CustomError> {
Ok(RenderUnderline {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderVerbatim {}
impl RenderVerbatim {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
comment: &IVerbatim,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_comment: &IVerbatim,
) -> Result<RenderVerbatim, CustomError> {
Ok(RenderVerbatim {})
}

View File

@@ -13,10 +13,10 @@ pub(crate) struct RenderVerseBlock {}
impl RenderVerseBlock {
pub(crate) fn new(
config: &Config,
output_directory: &Path,
output_file: &Path,
original: &IVerseBlock,
_config: &Config,
_output_directory: &Path,
_output_file: &Path,
_original: &IVerseBlock,
) -> Result<RenderVerseBlock, CustomError> {
Ok(RenderVerseBlock {})
}