Skip to content

Commit

Permalink
fix: fix rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloso committed Nov 30, 2024
1 parent a8e4710 commit 59991c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pomsky-lib/src/diagnose/compile_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ impl core::fmt::Display for CompileErrorKind {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
match self {
CompileErrorKind::ParseError(kind) => write!(f, "Parse error: {kind}"),
CompileErrorKind::BadIntersection => write!(f,
CompileErrorKind::BadIntersection => write!(
f,
"Intersecting these expressions is not supported. Only character sets \
can be intersected."
),
Expand All @@ -130,7 +131,8 @@ impl core::fmt::Display for CompileErrorKind {
),
Feature::UnicodeWordBoundaries => write!(
f,
"In the `{flavor:?}` flavor, word boundaries may only be used when Unicode is disabled"
"In the `{flavor:?}` flavor, word boundaries may only be used when Unicode \
is disabled"
),
Feature::ShorthandW => write!(
f,
Expand Down

0 comments on commit 59991c3

Please sign in to comment.