Lucas Stadler преди 11 години
родител
ревизия
7a7e9f0e92
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      rust/pointers.rs

+ 1 - 0
rust/pointers.rs

@ -46,6 +46,7 @@ mod list_with_box {
46 46
    //         Nil => Cons(x, box Nil),
47 47
    //         _ => Cons(x, box *xs)
48 48
    //                       // ^    "cannot move out of dereference of `&`-pointer"
49
    //                       // same with `ref l => Cons(x, box *l)`
49 50
    //     }
50 51
    // }
51 52