Files
natter/src/intermediate/comment.rs

17 lines
419 B
Rust
Raw Normal View History

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