Add comment as a no-op.

This commit is contained in:
Tom Alexander
2023-10-27 16:13:23 -04:00
parent 5891ac7fb7
commit 354d24cf69
7 changed files with 55 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
use crate::error::CustomError;
use super::registry::Registry;
/// Essentially a no-op since the comment is not rendered.
#[derive(Debug)]
pub(crate) struct IComment {}
impl IComment {
pub(crate) async fn new<'parse>(
registry: &mut Registry<'parse>,
comment: &organic::types::Comment<'parse>,
) -> Result<IComment, CustomError> {
Ok(IComment {})
}
}