rustc_
hir_
typeck
1.84.0-beta.4
(202008a1b 2024-12-07)
Module intrinsicck
Module Items
Functions
In crate rustc_
hir_
typeck
rustc_hir_typeck
Module
intrinsicck
Copy item path
Source
Functions
ยง
unpack_
option_
like
๐
If the type is
Option<T>
, it will return
T
, otherwise the type itself. Works on most
Option
-like types.