rust: what is the more efficient way to iterate in [false, true]?

前端 未结 0 1955
没有蜡笔的小新
没有蜡笔的小新 2020-12-15 04:30

I have a function foo that takes 3 booleans, and I would want to iterate through many booleans and get the result of every combination.



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