Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuya6502 committed Aug 3, 2023
1 parent 16c37be commit 8391d33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sync_base/base_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2421,7 +2421,10 @@ where
}

fn key_locks_map_is_empty(&self) -> bool {

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / linux-cross (mipsel-unknown-linux-musl, --no-default-features)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / linux-cross (armv5te-unknown-linux-musleabi, --no-default-features)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / linux-cross (mips-unknown-linux-musl, --no-default-features)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (nightly)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / linux-cross (mipsel-unknown-linux-musl, --no-default-features)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (beta)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / linux-cross (mips-unknown-linux-musl, --no-default-features)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / linux-cross (armv5te-unknown-linux-musleabi, --no-default-features)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (nightly)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (stable)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (beta)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (1.65.0)

associated function `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (stable)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (nightly)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (beta)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (1.65.0)

associated function `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (1.65.0)

associated function `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (stable)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (nightly)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (stable)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (beta)

method `key_locks_map_is_empty` is never used

Check warning on line 2423 in src/sync_base/base_cache.rs

View workflow job for this annotation

GitHub Actions / test (1.65.0)

associated function `key_locks_map_is_empty` is never used
self.key_locks.as_ref().map(|m| m.is_empty()).unwrap_or_default()
self.key_locks
.as_ref()
.map(|m| m.is_empty())
.unwrap_or_default()
}
}

Expand Down

0 comments on commit 8391d33

Please sign in to comment.