Skip to main content

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.