How can I have an unused type parameter in a struct?

前端 未结 2 592
情书的邮戳
情书的邮戳 2020-12-21 12:41

I\'m trying to update some older code I wrote that basically looks like:

trait Foo{}

struct Bar>{
  b: B
}
2条回答
提交回复
热议问题