wtachau opened issue #9856:
Hello, is there a reason that SparseMap doesn't impl
std::fmt::Debugand/orDefault? I would like to use it inside my own data structures that derive those impls.(I read these contribution guidelines which encouraged me to open an issue, please let me know if there's a more appropriate place to ask, thanks!)
cfallin commented on issue #9856:
This seems like a reasonable contribution to make -- I'd be happy to review a PR if you'd like to do this! The only thing I'd note right away is that we don't want to constrain
K: DebugandV: Debugunconditionally -- let's have a trait impl that providesDebugif they both have that impl.
wtachau commented on issue #9856:
thanks @cfallin! opened a PR here.
cfallin closed issue #9856:
Hello, is there a reason that SparseMap doesn't impl
std::fmt::Debugand/orDefault? I would like to use it inside my own data structures that derive those impls.(I read these contribution guidelines which encouraged me to open an issue, please let me know if there's a more appropriate place to ask, thanks!)
Last updated: Dec 13 2025 at 19:03 UTC