Rust: nested method calls with the same mutable reference

后端 未结 0 1659
无人共我
无人共我 2020-12-28 18:20

The following code:

let mut s = format!("a");
s.push_str({
    s.push_str("b");
    "c"         


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