diff --git a/src/walker.rs b/src/walker.rs index 9b8b4f5..0d8d4b2 100644 --- a/src/walker.rs +++ b/src/walker.rs @@ -28,7 +28,7 @@ pub struct WalkOptions<'a> { /// it should be included or not. /// /// This is passed to [`ignore::WalkBuilder::filter_entry`]. - pub filter_fn: Option>, + pub filter_fn: Option<&'static FilterFn>, } impl<'a> fmt::Debug for WalkOptions<'a> {