Macro tramp::rec_ret [−][src]
macro_rules! rec_ret { ($val:expr) => { ... }; }
Returns a value from a Rec
-function. This means the recursion is done.
Given an expression x
of type T
, then rec_ret!(x)
has type Rec<T>
.
It is equivalent to return x
transforming T
into Rec<T>
.