Skip to content

Commit 83762bd

Browse files
author
David Fifield
committed
Remove stray newline from fmt::Display for MissingBase10.
Introduced in 45ad923.
1 parent 610c2ec commit 83762bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

regex-syntax/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,8 +1585,7 @@ impl fmt::Display for ErrorKind {
15851585
write!(f, "Number does not correspond to a Unicode scalar \
15861586
value: '{}'.", c),
15871587
MissingBase10 =>
1588-
write!(f, "Missing maximum in counted
1589-
repetition operator."),
1588+
write!(f, "Missing maximum in counted repetition operator."),
15901589
RepeaterExpectsExpr =>
15911590
write!(f, "Missing expression for repetition operator."),
15921591
RepeaterUnexpectedExpr(ref e) =>

0 commit comments

Comments
 (0)