Skip to main content

is_pure

Function is_pure 

Source
pub(super) fn is_pure(expr: &Expr) -> bool
Expand description

Whether working out expr can’t change state or locals, so values borrowed before it stay alive.