Function ret

Source
pub fn ret<T>(x: T) -> Option<T>
Expand description

return for Option, equivalent to Some(x)