rustc_
hir_
typeck
1.88.0-beta.4
(95597e848 2025-05-25)
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.