Closed phimuemue closed 1 year ago
I use select.rs for some of my projects, and sometimes I want to ensure that e.g. document.find(...) returns exactly one result.
document.find(...)
In the error case, I would like to simply have something like println!("error: {:?}", result_of_document_find).
println!("error: {:?}", result_of_document_find)
But Find does not impl Debug impl. I think it would be worth having this, so that one can easily debug-output these structs.
Find
Debug
What do you think about this?
I use select.rs for some of my projects, and sometimes I want to ensure that e.g.
document.find(...)
returns exactly one result.In the error case, I would like to simply have something like
println!("error: {:?}", result_of_document_find)
.But
Find
does not implDebug
impl. I think it would be worth having this, so that one can easily debug-output these structs.What do you think about this?