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 {
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 {})
}

View File

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

View File

@ -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;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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;

View File

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

View File

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

View File

@ -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;

View File

@ -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(),
})

View File

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

View File

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

View File

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

View File

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

View File

@ -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> {

View File

@ -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)]

View File

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

View File

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

View File

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

View File

@ -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(),
})

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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 {})
}

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

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

View File

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

View File

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

View File

@ -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(),
})

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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')

View File

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

View File

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

View File

@ -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