is_extern_crate
rustfmt_
nightly
1.92.0-beta.3
(f3f12444a 2025-11-09)
In rustfmt_
nightly::
items
rustfmt_nightly
::
items
Function
is_
extern_
crate
Copy item path
Source
pub(crate) fn is_extern_crate(item: &
Item
) ->
bool