Skip to content

Commit f5d1140

Browse files
authored
Merge pull request #138 from Wilfred/master
2 parents 4172399 + 1a1e019 commit f5d1140

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/lib.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)