Skip to main content

single_arg

Function single_arg 

Source
fn single_arg<'a, 'ast>(args: &'a CallArgs<'ast>) -> Option<&'a Expr<'ast>>
Expand description

Returns the single positional argument of a call, if it has exactly one.