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