Add missing import to Rc
This commit is contained in:
parent
a9af93beeb
commit
41d3e1cf73
@ -594,6 +594,7 @@ mod prim_array {}
|
||||
/// [dynamically sized types](../reference/dynamically-sized-types.html).
|
||||
///
|
||||
/// ```
|
||||
/// # use std::rc::Rc;
|
||||
/// let pointer_size = std::mem::size_of::<&u8>();
|
||||
/// assert_eq!(2 * pointer_size, std::mem::size_of::<&[u8]>());
|
||||
/// assert_eq!(2 * pointer_size, std::mem::size_of::<*const [u8]>());
|
||||
|
Loading…
Reference in New Issue
Block a user