Skip to content

Commit e21e03f

Browse files
committed
Auto merge of #9556 - ehuss:gitignore-doc-fix, r=alexcrichton
Fix typo in gitignore docs. `**.ext` is collapsed to `*.ext` by git.
2 parents ed0c8c6 + 9efaaf1 commit e21e03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/manifest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ The patterns should be [gitignore]-style patterns. Briefly:
416416
`foo`.
417417
- `/**/` matches zero or more directories. For example, `a/**/b` matches
418418
`a/b`, `a/x/b`, `a/x/y/b`, and so on.
419-
- `!` prefix negates a pattern. For example, a pattern of `src/**.rs` and
419+
- `!` prefix negates a pattern. For example, a pattern of `src/*.rs` and
420420
`!foo.rs` would match all files with the `.rs` extension inside the `src`
421421
directory, except for any file named `foo.rs`.
422422

0 commit comments

Comments
 (0)