pub(crate) fn is_mod_decl(item: &Item) -> bool
Returns true for mod foo;, false for mod foo { .. }.
true
mod foo;
mod foo { .. }