Function rustc_hir_analysis::check::intrinsicck::unpack_option_like
source · [−]Expand description
If the type is Option<T>, it will return T, otherwise
the type itself. Works on most Option-like types.