//! Provides semi-safe helpers for the `Option` type.
/// Returns value inside `opt` without `None` checks in release builds.
///
/// Use this only when surrounding code guarantees that `opt` is `Some(_)`.
/// In debug builds this delegates to [`Option::unwrap`] so invariant
/// violations fail fast. In release builds, passing `None` causes undefined
/// behavior.
///
/// # Panics
///
/// Panics in debug builds if `opt` is `None`.
///
/// # Examples
///
/// ```
/// let value = semisafe::option::unwrap(Some(42));
/// assert_eq!(value, 42);
/// ```
pub const