Skip to content

Commit

Permalink
fix(mrml-core): Fix typo in cfg-features (#440)
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Ellis <[email protected]>
  • Loading branch information
JadedBlueEyes authored Jun 25, 2024
1 parent c5badbb commit bb40a16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mrml-core/src/mj_include/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pub mod head;

pub const NAME: &str = "mj-include";

#[cfg(all(test, feature = "parser", feature = "render"))]
#[cfg(all(test, feature = "parse", feature = "render"))]
mod tests {
use crate::{
mjml::Mjml,
Expand Down
2 changes: 1 addition & 1 deletion packages/mrml-core/src/prelude/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub mod render;
pub mod hash;

// see https://developer.mozilla.org/en-US/docs/Glossary/Void_element
#[cfg(any(feature = "parser", feature = "print", feature = "render"))]
#[cfg(any(feature = "parse", feature = "print", feature = "render"))]
pub(crate) fn is_void_element(tag: &str) -> bool {
matches!(
tag,
Expand Down

0 comments on commit bb40a16

Please sign in to comment.