mirror of
https://gitee.com/openharmony/third_party_rust_regex
synced 2025-04-12 07:34:07 +00:00
Fix unused variable warning
This commit is contained in:
parent
c8471c4041
commit
d756cd6e90
@ -1588,7 +1588,7 @@ impl fmt::Display for ErrorKind {
|
||||
write!(f, "Missing maximum in counted repetition operator."),
|
||||
RepeaterExpectsExpr =>
|
||||
write!(f, "Missing expression for repetition operator."),
|
||||
RepeaterUnexpectedExpr(ref e) =>
|
||||
RepeaterUnexpectedExpr(_) =>
|
||||
write!(f, "Invalid application of repetition operator."),
|
||||
UnclosedCaptureName(ref s) =>
|
||||
write!(f, "Capture name group for '{}' is not closed. \
|
||||
|
Loading…
x
Reference in New Issue
Block a user