In Rust, how to workaround a compile error[E0515]: cannot return value referencing temporary value?

后端 未结 0 2020
孤城傲影
孤城傲影 2021-02-20 16:03

I am trying to convert some short python code for parsing expressions into Rust. Python code

But I am trapped in the following error which occurs near bottom of the paste

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