Skip to content

Commit

Permalink
chore: fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Aug 7, 2023
1 parent f699e44 commit 750d7b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/wiremock_rs/mock_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ impl MountedMockSet {
///
/// It will stop matching against incoming requests, regardless of its specification.
pub(crate) fn deactivate(&mut self, mock_id: MockId) {
let mut mock = &mut self[mock_id];
mock.1 = MountedMockState::OutOfScope;
let (_, mock) = &mut self[mock_id];
*mock = MountedMockState::OutOfScope;
}

/// Verify that expectations have been met for **all** [`MountedMock`]s in the set.
Expand Down

0 comments on commit 750d7b9

Please sign in to comment.