Fix char predicate impl using FnOnce