How to fix String field does not implement `Copy`?

前端 未结 0 1926
情歌与酒
情歌与酒 2021-01-12 09:52

I am building a simple command-line todo app in Rust. If I don\'t implement the copy trait I get this error: "move occurs because \'todo\' has type \'todo::Todo\', whic

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