Skip to content

Commit

Permalink
Allow unused name for Locks
Browse files Browse the repository at this point in the history
  • Loading branch information
palfrey committed Mar 30, 2024
1 parent 1a634fc commit 946db45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions serial_test/src/rwlock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ impl<'a> Drop for MutexGuardWrapper<'a> {
}

impl Locks {
#[allow(unused_variables)]
pub fn new(name: &str) -> Locks {
Locks {
arc: Arc::new(LockData {
Expand Down

0 comments on commit 946db45

Please sign in to comment.