mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
43204fff5d
Implement `CoerceUnsized` for `{Cell, RefCell, UnsafeCell}`
These impls are analogous to the one for `NonZero`. It's occasionally useful to be able to coerce the cell types when they're being used inside another abstraction. See Manishearth/rust-gc#17 for an example.
r? @eddyb