How to deny int variable without explicit type annotation in Rust?

前端 未结 0 1886
梦谈多话
梦谈多话 2021-01-24 14:21

I often use integer type without type annotation:

let mut counter = 0

If there is no constraint, rustc w

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