refcell_pointer_study

Function refcell_pointer_study 

Source
pub fn refcell_pointer_study()
Expand description

调用结果如下

mock message len: 3
a after = Cons(RefCell { value: <borrowed> }, Nil)
b after = Cons(RefCell { value: 3 }, Cons(RefCell { value: <borrowed> }, Nil))
c after = Cons(RefCell { value: 4 }, Cons(RefCell { value: <borrowed> }, Nil))