Skip to main content

argument_position

Function argument_position 

Source
fn argument_position(position: usize) -> &'static str
Expand description

How a rejection names the argument a parameter was read from.

The three positions are the ones a supported call can write: a math function’s vector and the two constants behind it, or a range function’s selector and the constants on either side of it. Every caller passes the literal position it read, so there is no fourth position to name and no default to invent one for.