File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -524,10 +524,14 @@ impl fmt::Display for PatternError {
524524///
525525/// - `*` matches any (possibly empty) sequence of characters.
526526///
527- /// - `**` matches the current directory and arbitrary subdirectories. This
528- /// sequence **must** form a single path component, so both `**a` and `b**`
529- /// are invalid and will result in an error. A sequence of more than two
530- /// consecutive `*` characters is also invalid.
527+ /// - `**` matches the current directory and arbitrary
528+ /// subdirectories. To match files in arbitrary subdiretories, use
529+ /// `**/*`.
530+ ///
531+ /// This sequence **must** form a single path component, so both
532+ /// `**a` and `b**` are invalid and will result in an error. A
533+ /// sequence of more than two consecutive `*` characters is also
534+ /// invalid.
531535///
532536/// - `[...]` matches any character inside the brackets. Character sequences
533537/// can also specify ranges of characters, as ordered by Unicode, so e.g.
You can’t perform that action at this time.
0 commit comments