cannot use `*last_node` because it was mutably borrowed

前端 未结 0 1387
孤街浪徒
孤街浪徒 2021-02-07 12:13

Why does this happen?

cannot use *last_node because it was mutably borrowed

#[derive(Debug)]
struct Node {
    data: i32,
    next: Link,
}

t         


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