macro_rules! const_try { ($e:expr) => { ... }; }
Expand description
Try to unwrap an expression, returning if not possible.
This is similar to the ?
operator, but does not perform .into()
. Because of this, it is
usable in const
contexts.
macro_rules! const_try { ($e:expr) => { ... }; }
Try to unwrap an expression, returning if not possible.
This is similar to the ?
operator, but does not perform .into()
. Because of this, it is
usable in const
contexts.