Skip to content

Commit

Permalink
Fix warnings in dom_invariants (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
andybalaam committed Nov 30, 2022
1 parent 3311e00 commit f28cbf8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/wysiwyg/src/dom/dom_invariants.rs
Expand Up @@ -31,9 +31,12 @@
//! TODO: build the demo app with these assertions enabled
//! TODO: add more assertions - see the code of assert_invariants for ideas

#[cfg(any(test, feature = "assert-invariants"))]
use crate::dom::unicode_string::UnicodeStrExt;
use crate::dom::Dom;
use crate::{DomNode, ToTree, UnicodeString};
use crate::UnicodeString;
#[cfg(any(test, feature = "assert-invariants"))]
use crate::{DomNode, ToTree};

impl<S> Dom<S>
where
Expand Down

0 comments on commit f28cbf8

Please sign in to comment.