rustfmt_nightly::attr

Function get_attrs_from_stmt

Source
pub(crate) fn get_attrs_from_stmt(stmt: &Stmt) -> &[Attribute]
Expand description

Returns attributes on the given statement.