How can I elegantly reduce duplicate code in two different traits?

后端 未结 0 755
说谎
说谎 2021-02-04 11:08

thank you for taking a look.

I have two traits that have different functionality but share two methods ( let\'s say repeat and get_stuff), see code belo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题