Skip to content

Commit

Permalink
Merge branch 'david/arc-router-2' of https://github.com/tokio-rs/axum
Browse files Browse the repository at this point in the history
…into david/arc-router-2
  • Loading branch information
davidpdrsn committed Jan 13, 2024
2 parents 3ceac32 + 167a294 commit 0e187fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions axum/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ fn test_try_downcast() {
}

// `AxumMutex` is a wrapper around `std::sync::Mutex` which, in test mode, tracks the number of
// times its been locked on the current task. That way we can write a test to ensure we don't
// times it's been locked on the current task. That way we can write a test to ensure we don't
// accidentally introduce more locking.
//
// When not in test mode its a literal type alias for `std::sync::Mutex`.
// When not in test mode, it is just a type alias for `std::sync::Mutex`.
#[cfg(not(test))]
mod mutex {
#[allow(clippy::disallowed_types)]
Expand Down

0 comments on commit 0e187fa

Please sign in to comment.