galvanic-assert
galvanic-assert copied to clipboard
Add debug to the result of a failed `is_variant`.
No idea if you actually want to make Debug
a requirement here.
I use Debug
on all my types, std::assert_eq
requires Debug
, and think it makes the error messages when variant fails much more useful. I wrote this for my own use and figured I should PR it in case you'd like to add it.