Nice sheet, though I have a few critiques:
- Why does it say
where T: Sized
for references&T
? A reference can definitely point to an unsized type, e.g.&str
. - The yellow boxes really mean "must be heap allocated" - all the other references (
&T
,&[T]
and&dyn Trait
) may either point to the stack or the heap.