pub fn adjust_expr_semi(&self, expr: ast::Expr) -> ast::Expr {
        if self.needs_semi() != expr.needs_semi() {
            ast::Expr::ForceSemi(Box::new(ast::ForceSemi {
                needs_semi: self.needs_semi(),
                span: self.span(),
                expr,
            }))
        } else {
            expr
        }
    }
/// Wrap the expression into an expression that matches the semi convention
/// of the macro call.
Wrap the expression into an expression that matches the semi convention
of the macro call.
Wrap the expression into an expression that matches the semi convention of the macro call .
pub fn adjust_expr_semi(&self, expr: ast::Expr) -> ast::Expr {
        if self.needs_semi() != expr.needs_semi() {
            ast::Expr::ForceSemi(Box::new(ast::ForceSemi {
                needs_semi: self.needs_semi(),
                span: self.span(),
                expr,
            }))
        } else {
            expr
        }
    }
pub fn adjust_expr_semi ( & self , expr : ast :: Expr ) -> ast :: Expr { if self . needs_semi ( ) != expr . needs_semi ( ) { ast :: Expr :: ForceSemi ( Box :: new ( ast :: ForceSemi { needs_semi : self . needs_semi ( ) , span : self . span ( ) , expr , } ) ) } else { expr } }
Wrap the expression into an expression that matches the semi convention
of the macro call.
Wrap the expression into an expression that matches the semi convention of the macro call .
&self
expr
ast::Expr
&self
expr
ast::Expr