Run cargo fix.
This commit is contained in:
parent
ff57242434
commit
ada11816fb
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -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 {})
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IAngleLink, AngleLink);
|
||||
|
@ -18,7 +18,7 @@ use super::plain_link::IPlainLink;
|
||||
use super::plain_text::IPlainText;
|
||||
use super::radio_link::IRadioLink;
|
||||
use super::radio_target::IRadioTarget;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::regular_link::IRegularLink;
|
||||
use super::statistics_cookie::IStatisticsCookie;
|
||||
use super::strike_through::IStrikeThrough;
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IBabelCall, BabelCall);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IBold, Bold);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(ICenterBlock, CenterBlock);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(ICitation, Citation);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(ICitationReference, CitationReference);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IClock, Clock);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(ICode, Code);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IComment, Comment);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(ICommentBlock, CommentBlock);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IDiarySexp, DiarySexp);
|
||||
|
@ -1,6 +1,6 @@
|
||||
use super::macros::iitem;
|
||||
use super::macros::iselector;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IHeading;
|
||||
use super::ISection;
|
||||
use crate::error::CustomError;
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IDrawer, Drawer);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IDynamicBlock, DynamicBlock);
|
||||
|
@ -1,7 +1,7 @@
|
||||
use super::comment::IComment;
|
||||
use super::keyword::IKeyword;
|
||||
use super::macros::iselector;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IBabelCall;
|
||||
use super::ICenterBlock;
|
||||
use super::IClock;
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
@ -7,7 +7,7 @@ pub(crate) struct IEntity {
|
||||
pub(crate) html: String,
|
||||
}
|
||||
|
||||
intermediate!(IEntity, Entity, original, registry, {
|
||||
intermediate!(IEntity, Entity, original, _registry, {
|
||||
Ok(IEntity {
|
||||
html: original.html.to_owned(),
|
||||
})
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IExampleBlock, ExampleBlock);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IExportBlock, ExportBlock);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IExportSnippet, ExportSnippet);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IFixedWidthArea, FixedWidthArea);
|
||||
|
@ -1,6 +1,6 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::register_footnote_definition;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IAstNode;
|
||||
use crate::error::CustomError;
|
||||
use crate::intermediate::RefRegistry;
|
||||
@ -27,7 +27,7 @@ pub(crate) struct IRealFootnoteDefinition {
|
||||
|
||||
impl IRealFootnoteDefinition {
|
||||
pub(crate) async fn new<'orig, 'parse>(
|
||||
registry: RefRegistry<'orig, 'parse>,
|
||||
_registry: RefRegistry<'orig, 'parse>,
|
||||
footnote_id: usize,
|
||||
contents: Vec<IAstNode>,
|
||||
) -> Result<IRealFootnoteDefinition, CustomError> {
|
||||
|
@ -1,6 +1,6 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::get_footnote_reference_id;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IDocumentElement;
|
||||
use super::IObject;
|
||||
use crate::error::CustomError;
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IHorizontalRule, HorizontalRule);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IInlineBabelCall, InlineBabelCall);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
@ -7,7 +7,7 @@ pub(crate) struct IInlineSourceBlock {
|
||||
pub(crate) value: String,
|
||||
}
|
||||
|
||||
intermediate!(IInlineSourceBlock, InlineSourceBlock, original, registry, {
|
||||
intermediate!(IInlineSourceBlock, InlineSourceBlock, original, _registry, {
|
||||
Ok(IInlineSourceBlock {
|
||||
value: original.value.to_owned(),
|
||||
})
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IItalic, Italic);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IKeyword, Keyword);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(ILatexEnvironment, LatexEnvironment);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(ILatexFragment, LatexFragment);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(ILineBreak, LineBreak);
|
||||
|
@ -8,8 +8,8 @@ macro_rules! inoop {
|
||||
|
||||
impl $istruct {
|
||||
pub(crate) async fn new<'reg, 'orig, 'parse>(
|
||||
registry: crate::intermediate::RefRegistry<'orig, 'parse>,
|
||||
original: &'orig organic::types::$pstruct<'parse>,
|
||||
_registry: crate::intermediate::RefRegistry<'orig, 'parse>,
|
||||
_original: &'orig organic::types::$pstruct<'parse>,
|
||||
) -> Result<$istruct, CustomError> {
|
||||
Ok($istruct {})
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ use super::plain_link::IPlainLink;
|
||||
use super::plain_text::IPlainText;
|
||||
use super::radio_link::IRadioLink;
|
||||
use super::radio_target::IRadioTarget;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::regular_link::IRegularLink;
|
||||
use super::statistics_cookie::IStatisticsCookie;
|
||||
use super::strike_through::IStrikeThrough;
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IOrgMacro, OrgMacro);
|
||||
|
@ -3,7 +3,7 @@ use std::path::PathBuf;
|
||||
use crate::error::CustomError;
|
||||
|
||||
use super::footnote_definition::IRealFootnoteDefinition;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IDocumentElement;
|
||||
use super::IHeading;
|
||||
use super::ISection;
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IObject;
|
||||
use crate::error::CustomError;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IPlainLink, PlainLink);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IPlainListItem;
|
||||
use crate::error::CustomError;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IElement;
|
||||
use super::IObject;
|
||||
use crate::error::CustomError;
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::util::coalesce_whitespace;
|
||||
use crate::error::CustomError;
|
||||
|
||||
@ -8,7 +8,7 @@ pub(crate) struct IPlainText {
|
||||
pub(crate) source: String,
|
||||
}
|
||||
|
||||
intermediate!(IPlainText, PlainText, original, registry, {
|
||||
intermediate!(IPlainText, PlainText, original, _registry, {
|
||||
Ok(IPlainText {
|
||||
source: coalesce_whitespace(original.source).into_owned(),
|
||||
})
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IPlanning, Planning);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IPropertyDrawer, PropertyDrawer);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IElement;
|
||||
use crate::error::CustomError;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IRadioLink, RadioLink);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IRadioTarget, RadioTarget);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IObject;
|
||||
use crate::error::CustomError;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use super::IElement;
|
||||
use crate::error::CustomError;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(ISpecialBlock, SpecialBlock);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::intermediate;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
@ -7,7 +7,7 @@ pub(crate) struct ISrcBlock {
|
||||
pub(crate) lines: Vec<String>,
|
||||
}
|
||||
|
||||
intermediate!(ISrcBlock, SrcBlock, original, registry, {
|
||||
intermediate!(ISrcBlock, SrcBlock, original, _registry, {
|
||||
let lines = original
|
||||
.contents
|
||||
.split_inclusive('\n')
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IStatisticsCookie, StatisticsCookie);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(IStrikeThrough, StrikeThrough);
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::macros::inoop;
|
||||
use super::registry::Registry;
|
||||
|
||||
use crate::error::CustomError;
|
||||
|
||||
inoop!(ISubscript, Subscript);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user