Skip to main content

is_statement_result

Function is_statement_result 

Source
pub(super) const fn is_statement_result(expression: &Expression) -> bool
Expand description

Whether expression is the result of a statement.

There is no way to write these inline, so the statement that produces one always stores it in a temporary, whether or not anything asked for one.