rustc_ast::util::classify

Function expr_trailing_brace

Source
pub fn expr_trailing_brace(expr: &Expr) -> Option<TrailingBrace<'_>>
Expand description

If an expression ends with }, returns the innermost expression ending in the }