Auto merge of #9556 - ehuss:gitignore-doc-fix, r=alexcrichton

Fix typo in gitignore docs.

`**.ext` is collapsed to `*.ext` by git.
This commit is contained in:
bors 2021-06-07 22:21:31 +00:00
commit e21e03f4c0

View file

@ -416,7 +416,7 @@ The patterns should be [gitignore]-style patterns. Briefly:
`foo`.
- `/**/` matches zero or more directories. For example, `a/**/b` matches
`a/b`, `a/x/b`, `a/x/y/b`, and so on.
- `!` prefix negates a pattern. For example, a pattern of `src/**.rs` and
- `!` prefix negates a pattern. For example, a pattern of `src/*.rs` and
`!foo.rs` would match all files with the `.rs` extension inside the `src`
directory, except for any file named `foo.rs`.