From 59991c3be3d4654fe218fddea53b863143ac82f0 Mon Sep 17 00:00:00 2001 From: Ludwig Stecher Date: Sat, 30 Nov 2024 22:56:25 +0100 Subject: [PATCH] fix: fix rustfmt --- pomsky-lib/src/diagnose/compile_error.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pomsky-lib/src/diagnose/compile_error.rs b/pomsky-lib/src/diagnose/compile_error.rs index 94bac27..de87178 100644 --- a/pomsky-lib/src/diagnose/compile_error.rs +++ b/pomsky-lib/src/diagnose/compile_error.rs @@ -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." ), @@ -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,