Closed borisfaure closed 10 months ago
You don't need these modification to be able to use the Debug trait. Why did you had to do that? i.e. can you give an example of what you want to do that doesn't work without this change and that work with?
Small example here: https://github.com/borisfaure/keyberon/commit/9241347dd29d3a3352c3234cccee44728918ccf3 Honestly, I was surprised I had to do it
You had to do it because you added logs in the impl. Outside, with an explicit T and K type, you don't need this.
This modification force people to have Debug T and K types, so it adds constraints to users that's don't need the feature.
Makes sense. I'm closing it.
While adding debug lines in some tests, I encountered the following issue:
(can also be found on https://github.com/borisfaure/keyberon/tree/showcase_debug_issue )
This commit fixes that problem and helps developing new features on keyberon.