Programming in Rust , how to fix error[E0515] “cannot return value referencing local variable”?

前端 未结 0 1087
感情败类
感情败类 2021-01-01 17:31

Please help me to compile my code attached bellow. The compiler says that following 2 patterns depending on which lines I comment out.

The program reads a &str wh

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