Why can assignment operator be chained in Rust?

前端 未结 0 1204
伪装坚强ぢ
伪装坚强ぢ 2021-01-11 11:55

Rust has several operators that cannot be chained (==, < for example).

But assignment operator = can be chained.

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