Function rustfmt_nightly::items::is_mod_decl
source ยท pub(crate) fn is_mod_decl(item: &Item) -> bool
Expand description
Returns true
for mod foo;
, false for mod foo { .. }
.
pub(crate) fn is_mod_decl(item: &Item) -> bool
Returns true
for mod foo;
, false for mod foo { .. }
.