2023-10-27 16:13:23 -04:00
|
|
|
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 {
|
2023-10-29 14:14:10 -04:00
|
|
|
pub(crate) async fn new<'b, 'parse>(
|
|
|
|
|
registry: &'b mut Registry<'parse>,
|
|
|
|
|
comment: &'b organic::types::Comment<'parse>,
|
2023-10-27 16:13:23 -04:00
|
|
|
) -> Result<IComment, CustomError> {
|
|
|
|
|
Ok(IComment {})
|
|
|
|
|
}
|
|
|
|
|
}
|