Why does the borrow checker fail to realize that conditional borrow did not occur?

前端 未结 0 1333
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-23 16:12

I have some Rust code that takes a reference and returns a Result that holds a reference in the Ok case and doesn\'t in the Err case.

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