17 lines
389 B
Rust
17 lines
389 B
Rust
|
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 {})
|
||
|
}
|
||
|
}
|