Skip to main content

binding_value

Function binding_value 

Source
pub fn binding_value(text: &str) -> &str
Expand description

The text of one binding’s value, up to the ; that closes it.

The closing ; stands at bracket depth zero, outside every let … in, and past the ; that each with <expr>; or assert <expr>; clause owns at the depth where the clause began.