Skip to content

Smart Pointers practice problems in Rust

Difficulty:
Category:
Tag:

Showing 7 of 7

Status Title Difficulty
Inside `Rc`: `strong_count`, `ptr_eq`, `get_mut`, `try_unwrap` Medium
`large_enum_variant`: boxing the fat variant Medium
`Rc::make_mut`: copy-on-write shared data Hard
`Rc<str>`: interning without double indirection Medium
`Rc<T>`: shared ownership by reference counting Medium
Recursive types need indirection: E0072 Easy
The stack, the heap, and `Box<T>` Easy