> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# rust-mutex-guard-across-await

> A standard Rust MutexGuard remains live across an await.

## What it flags

The rule recognizes a locally declared, explicitly qualified std::sync::MutexGuard followed directly by an await in the same block. Review whether the lock can be released before suspension. An explicit drop, a completed inner scope, and Tokio async lock guards do not trigger the check.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.