BurntSushi / ripgrep

ripgrep recursively searches directories for a regex pattern while respecting your gitignore
The Unlicense
48.97k stars 2.01k forks source link

[docs] Indicate only one filter can be applied for `ignore::WalkBuilder` #2913

Open bicarlsen opened 1 month ago

bicarlsen commented 1 month ago

Describe your feature request

In the docs for ignore::WalkBuilder::filter_entry it could be useful to note that only one filter can be used, and calling filter_entry multiple times will overwrite the previous filter.

I had assumed this call was composable such as Iterator::filter is.