Fix formatting

This commit is contained in:
2022-05-02 19:50:54 +02:00
parent 46c92cfbbf
commit 77676ea04d
2 changed files with 3 additions and 3 deletions

View File

@@ -264,7 +264,7 @@ mod tests {
#[test]
fn test_rwlock_upgradable_read_usage() {
let lock = Arc::new(TracingRwLock::new(()));
let lock = TracingRwLock::new(());
// Should be able to acquire an upgradable read lock.
let upgradable_guard: TracingRwLockUpgradableReadGuard<'_, _> = lock.upgradable_read();