rustfmt_nightly::items

Function is_mod_decl

Source
pub(crate) fn is_mod_decl(item: &Item) -> bool
Expand description

Returns true for mod foo;, false for mod foo { .. }.