Values returned from “next” differ from values in the loop in IntoIterator implementation

后端 未结 0 795
说谎
说谎 2021-01-08 01:06

I implemented the IntoIterator trait for a struct, but if I loop over an object, the values in the loop are different from those I return in the next function.<

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