// SPDX-FileCopyrightText: Copyright (c) 2026 Mike Li/Mikewolfli/Wei Li(mikewolfli@163.com)
// SPDX-License-Identifier: MIT
//! Extension trait for standardized mutex lock handling.
//!
//! Provides a `.lock_guard()` method that recovers from poisoned
//! mutexes by calling `into_inner()` on the poison error, instead
//! of panicking with `expect("... poisoned")`.
use crate;
/// Extension trait that adds `.lock_guard()` to `Mutex<T>`.