Function rustfmt_nightly::expr::is_empty_block
source · pub(crate) fn is_empty_block(
context: &RewriteContext<'_>,
block: &Block,
attrs: Option<&[Attribute]>
) -> bool
Expand description
Checks whether a block contains no statements, expressions, comments, or inner attributes.