func

Macro func 

Source
func!() { /* proc-macro */ }
Expand description

Function macro - adds span parameter to closures

Syntax:

func!(|param1, param2| body)

Example:

func!(|x, y| x + y)
// Expands to: |x, y, span| x + y