pub(crate) fn rewrite_extern_crate(
context: &RewriteContext<'_>,
item: &Item,
attrs_shape: Shape,
) -> Result<String, RewriteError>Expand description
Rewrite extern crate foo;.
The given shape is used to format the extern crate’s attributes.