Skip to main content

return_expression

Function return_expression 

Source
pub fn return_expression(node: Node<'_>) -> Option<Node<'_>>
Expand description

The single expression a return_statement wraps - None if node isn’t a return statement, or it’s a bare return; with nothing to return.