Closed phimuemue closed 4 years ago
As mentioned in https://github.com/utkarshkukreti/select.rs/issues/61, I find myself in need of a Debug implementation for Find.
Debug
Find
The only member of Find that does not necessarily implement Debug is predicate (which may be a closure), so I left it out from the Debug impl. This is in line with Rust's Filter (and other iterators).
predicate
Filter
Might be worth adding a
#![warn( missing_debug_implementations )]
at the top of lib.rs aswell.
lib.rs
Thanks for the PR! I've released v0.5.0 with this change and some other updates.
As mentioned in https://github.com/utkarshkukreti/select.rs/issues/61, I find myself in need of a
Debug
implementation forFind
.The only member of
Find
that does not necessarily implementDebug
ispredicate
(which may be a closure), so I left it out from theDebug
impl. This is in line with Rust'sFilter
(and other iterators).