Skip to content

Commit

Permalink
fix: embed tag name
Browse files Browse the repository at this point in the history
Signed-off-by: Jérémie Drouet <[email protected]>
  • Loading branch information
jdrouet committed Jul 29, 2024
1 parent 53e7183 commit 5e44e62
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/mrml-core/src/comment/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ mod print;
#[cfg(feature = "render")]
mod render;

#[cfg(feature = "json")]
const NAME: &str = "comment";

pub struct CommentTag;

impl StaticTag for CommentTag {
fn static_tag() -> &'static str {
NAME
"comment"
}
}

Expand Down

0 comments on commit 5e44e62

Please sign in to comment.