FileDialog doesn't implement fmt::Debug
drehren opened this issue · comments
Daniel Rehren commented
Hi! I've just found this crate, but the simple problem I'm facing is that FileDialog doesn't implement the Debug trait...
In the docs, they say that Debug should be implemented by all public types (here).
Thanks
Barugon commented
I am unable to apply fmt::Debug
to a closure. If you know how to do this then please let me know.
Daniel Rehren commented
If you cannot use #derive then you can easily implement Debug by hand... When I do that in VSCode with the rust-analyzer extension, it automatically fills the debug trait with the necessary fmt::Formatter::debug_* functions. Then you could just not make it print the closure!
Daniel Rehren commented
Thank you!