closures: expected u32 found type parameter

前端 未结 0 701
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 00:57

I am new to Rust

The problem is that my generic type T only accepts arguments from U32 and in this case I am trying to pass a generic value that I store in U.

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