Why an immutable reference can work in match when mutable reference is required by function in Rust?

前端 未结 0 793
轻奢々
轻奢々 2021-01-24 06:12

Hi I\'m currently reading The Rust Programming Language book. In error handling chapter I found this code works well:



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