How do I pass a capture a string in a closure without causing a compiler error?

前端 未结 0 1093
梦谈多话
梦谈多话 2021-01-06 09:09

The compiler issues an error on the following code, and I don\'t know how to fix it. Note, it works for the non-closure (direct call) case, it\'s just when I try to capture

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