We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe54f39 commit 99da6beCopy full SHA for 99da6be
src/lib.rs
@@ -516,10 +516,10 @@ enum MatchResult {
516
EntirePatternDoesntMatch,
517
}
518
519
-const ERROR_WILDCARDS: &'static str = "wildcards are either regular `*` or recursive `**`";
520
-const ERROR_RECURSIVE_WILDCARDS: &'static str = "recursive wildcards must form a single path \
+const ERROR_WILDCARDS: &str = "wildcards are either regular `*` or recursive `**`";
+const ERROR_RECURSIVE_WILDCARDS: &str = "recursive wildcards must form a single path \
521
component";
522
-const ERROR_INVALID_RANGE: &'static str = "invalid range pattern";
+const ERROR_INVALID_RANGE: &str = "invalid range pattern";
523
524
impl Pattern {
525
/// This function compiles Unix shell style patterns.
0 commit comments