or_gen
Proc Macro Documentation
A proc macro that converts if
or match
expressions that return multiple types into Or types.
Usage Examples
For if
Expression
use or_gen;
use Or3;
// Add a type annotation explicitly
let s: = if true else if false else ;
For match
Expression
use or_gen;
use Or3;
// Add a type annotation explicitly
let s: = match 42 ;
Function Definition