Skip to content

Commit

Permalink
Compile fix with css feature not enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglerchris committed Dec 29, 2023
1 parent c5aedd1 commit 1f0671c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ impl PartialEq for Error {
use Error::*;
match (self, other) {
(TooNarrow, TooNarrow) => true,
#[cfg(feature = "css")]
(CssParseError, CssParseError) => true,
(Fail, Fail) => true,
(FmtError(f1), FmtError(f2)) => f1 == f2,
Expand Down

0 comments on commit 1f0671c

Please sign in to comment.