Run cargo fix.

This commit is contained in:
Tom Alexander 2023-10-29 22:31:29 -04:00
parent ff57242434
commit ada11816fb
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
107 changed files with 248 additions and 248 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IAngleLink, AngleLink); inoop!(IAngleLink, AngleLink);

View File

@ -18,7 +18,7 @@ use super::plain_link::IPlainLink;
use super::plain_text::IPlainText; use super::plain_text::IPlainText;
use super::radio_link::IRadioLink; use super::radio_link::IRadioLink;
use super::radio_target::IRadioTarget; use super::radio_target::IRadioTarget;
use super::registry::Registry;
use super::regular_link::IRegularLink; use super::regular_link::IRegularLink;
use super::statistics_cookie::IStatisticsCookie; use super::statistics_cookie::IStatisticsCookie;
use super::strike_through::IStrikeThrough; use super::strike_through::IStrikeThrough;

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IBabelCall, BabelCall); inoop!(IBabelCall, BabelCall);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IBold, Bold); inoop!(IBold, Bold);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(ICenterBlock, CenterBlock); inoop!(ICenterBlock, CenterBlock);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(ICitation, Citation); inoop!(ICitation, Citation);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(ICitationReference, CitationReference); inoop!(ICitationReference, CitationReference);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IClock, Clock); inoop!(IClock, Clock);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(ICode, Code); inoop!(ICode, Code);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IComment, Comment); inoop!(IComment, Comment);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(ICommentBlock, CommentBlock); inoop!(ICommentBlock, CommentBlock);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IDiarySexp, DiarySexp); inoop!(IDiarySexp, DiarySexp);

View File

@ -1,6 +1,6 @@
use super::macros::iitem; use super::macros::iitem;
use super::macros::iselector; use super::macros::iselector;
use super::registry::Registry;
use super::IHeading; use super::IHeading;
use super::ISection; use super::ISection;
use crate::error::CustomError; use crate::error::CustomError;

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IDrawer, Drawer); inoop!(IDrawer, Drawer);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IDynamicBlock, DynamicBlock); inoop!(IDynamicBlock, DynamicBlock);

View File

@ -1,7 +1,7 @@
use super::comment::IComment; use super::comment::IComment;
use super::keyword::IKeyword; use super::keyword::IKeyword;
use super::macros::iselector; use super::macros::iselector;
use super::registry::Registry;
use super::IBabelCall; use super::IBabelCall;
use super::ICenterBlock; use super::ICenterBlock;
use super::IClock; use super::IClock;

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
@ -7,7 +7,7 @@ pub(crate) struct IEntity {
pub(crate) html: String, pub(crate) html: String,
} }
intermediate!(IEntity, Entity, original, registry, { intermediate!(IEntity, Entity, original, _registry, {
Ok(IEntity { Ok(IEntity {
html: original.html.to_owned(), html: original.html.to_owned(),
}) })

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IExampleBlock, ExampleBlock); inoop!(IExampleBlock, ExampleBlock);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IExportBlock, ExportBlock); inoop!(IExportBlock, ExportBlock);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IExportSnippet, ExportSnippet); inoop!(IExportSnippet, ExportSnippet);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IFixedWidthArea, FixedWidthArea); inoop!(IFixedWidthArea, FixedWidthArea);

View File

@ -1,6 +1,6 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::register_footnote_definition; use super::registry::register_footnote_definition;
use super::registry::Registry;
use super::IAstNode; use super::IAstNode;
use crate::error::CustomError; use crate::error::CustomError;
use crate::intermediate::RefRegistry; use crate::intermediate::RefRegistry;
@ -27,7 +27,7 @@ pub(crate) struct IRealFootnoteDefinition {
impl IRealFootnoteDefinition { impl IRealFootnoteDefinition {
pub(crate) async fn new<'orig, 'parse>( pub(crate) async fn new<'orig, 'parse>(
registry: RefRegistry<'orig, 'parse>, _registry: RefRegistry<'orig, 'parse>,
footnote_id: usize, footnote_id: usize,
contents: Vec<IAstNode>, contents: Vec<IAstNode>,
) -> Result<IRealFootnoteDefinition, CustomError> { ) -> Result<IRealFootnoteDefinition, CustomError> {

View File

@ -1,6 +1,6 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::get_footnote_reference_id; use super::registry::get_footnote_reference_id;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
#[derive(Debug, Clone)] #[derive(Debug, Clone)]

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use super::IDocumentElement; use super::IDocumentElement;
use super::IObject; use super::IObject;
use crate::error::CustomError; use crate::error::CustomError;

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IHorizontalRule, HorizontalRule); inoop!(IHorizontalRule, HorizontalRule);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IInlineBabelCall, InlineBabelCall); inoop!(IInlineBabelCall, InlineBabelCall);

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
@ -7,7 +7,7 @@ pub(crate) struct IInlineSourceBlock {
pub(crate) value: String, pub(crate) value: String,
} }
intermediate!(IInlineSourceBlock, InlineSourceBlock, original, registry, { intermediate!(IInlineSourceBlock, InlineSourceBlock, original, _registry, {
Ok(IInlineSourceBlock { Ok(IInlineSourceBlock {
value: original.value.to_owned(), value: original.value.to_owned(),
}) })

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IItalic, Italic); inoop!(IItalic, Italic);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IKeyword, Keyword); inoop!(IKeyword, Keyword);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(ILatexEnvironment, LatexEnvironment); inoop!(ILatexEnvironment, LatexEnvironment);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(ILatexFragment, LatexFragment); inoop!(ILatexFragment, LatexFragment);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(ILineBreak, LineBreak); inoop!(ILineBreak, LineBreak);

View File

@ -8,8 +8,8 @@ macro_rules! inoop {
impl $istruct { impl $istruct {
pub(crate) async fn new<'reg, 'orig, 'parse>( pub(crate) async fn new<'reg, 'orig, 'parse>(
registry: crate::intermediate::RefRegistry<'orig, 'parse>, _registry: crate::intermediate::RefRegistry<'orig, 'parse>,
original: &'orig organic::types::$pstruct<'parse>, _original: &'orig organic::types::$pstruct<'parse>,
) -> Result<$istruct, CustomError> { ) -> Result<$istruct, CustomError> {
Ok($istruct {}) Ok($istruct {})
} }

View File

@ -20,7 +20,7 @@ use super::plain_link::IPlainLink;
use super::plain_text::IPlainText; use super::plain_text::IPlainText;
use super::radio_link::IRadioLink; use super::radio_link::IRadioLink;
use super::radio_target::IRadioTarget; use super::radio_target::IRadioTarget;
use super::registry::Registry;
use super::regular_link::IRegularLink; use super::regular_link::IRegularLink;
use super::statistics_cookie::IStatisticsCookie; use super::statistics_cookie::IStatisticsCookie;
use super::strike_through::IStrikeThrough; use super::strike_through::IStrikeThrough;

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IOrgMacro, OrgMacro); inoop!(IOrgMacro, OrgMacro);

View File

@ -3,7 +3,7 @@ use std::path::PathBuf;
use crate::error::CustomError; use crate::error::CustomError;
use super::footnote_definition::IRealFootnoteDefinition; use super::footnote_definition::IRealFootnoteDefinition;
use super::registry::Registry;
use super::IDocumentElement; use super::IDocumentElement;
use super::IHeading; use super::IHeading;
use super::ISection; use super::ISection;

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use super::IObject; use super::IObject;
use crate::error::CustomError; use crate::error::CustomError;

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IPlainLink, PlainLink); inoop!(IPlainLink, PlainLink);

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use super::IPlainListItem; use super::IPlainListItem;
use crate::error::CustomError; use crate::error::CustomError;

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use super::IElement; use super::IElement;
use super::IObject; use super::IObject;
use crate::error::CustomError; use crate::error::CustomError;

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use super::util::coalesce_whitespace; use super::util::coalesce_whitespace;
use crate::error::CustomError; use crate::error::CustomError;
@ -8,7 +8,7 @@ pub(crate) struct IPlainText {
pub(crate) source: String, pub(crate) source: String,
} }
intermediate!(IPlainText, PlainText, original, registry, { intermediate!(IPlainText, PlainText, original, _registry, {
Ok(IPlainText { Ok(IPlainText {
source: coalesce_whitespace(original.source).into_owned(), source: coalesce_whitespace(original.source).into_owned(),
}) })

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IPlanning, Planning); inoop!(IPlanning, Planning);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IPropertyDrawer, PropertyDrawer); inoop!(IPropertyDrawer, PropertyDrawer);

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use super::IElement; use super::IElement;
use crate::error::CustomError; use crate::error::CustomError;

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IRadioLink, RadioLink); inoop!(IRadioLink, RadioLink);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IRadioTarget, RadioTarget); inoop!(IRadioTarget, RadioTarget);

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use super::IObject; use super::IObject;
use crate::error::CustomError; use crate::error::CustomError;

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use super::IElement; use super::IElement;
use crate::error::CustomError; use crate::error::CustomError;

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(ISpecialBlock, SpecialBlock); inoop!(ISpecialBlock, SpecialBlock);

View File

@ -1,5 +1,5 @@
use super::macros::intermediate; use super::macros::intermediate;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
@ -7,7 +7,7 @@ pub(crate) struct ISrcBlock {
pub(crate) lines: Vec<String>, pub(crate) lines: Vec<String>,
} }
intermediate!(ISrcBlock, SrcBlock, original, registry, { intermediate!(ISrcBlock, SrcBlock, original, _registry, {
let lines = original let lines = original
.contents .contents
.split_inclusive('\n') .split_inclusive('\n')

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IStatisticsCookie, StatisticsCookie); inoop!(IStatisticsCookie, StatisticsCookie);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(IStrikeThrough, StrikeThrough); inoop!(IStrikeThrough, StrikeThrough);

View File

@ -1,5 +1,5 @@
use super::macros::inoop; use super::macros::inoop;
use super::registry::Registry;
use crate::error::CustomError; use crate::error::CustomError;
inoop!(ISubscript, Subscript); inoop!(ISubscript, Subscript);

Some files were not shown because too many files have changed in this diff Show More