Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeMathWalker committed Nov 3, 2023
1 parent 698cd76 commit b2c5fc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mock_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ 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];
let mock = &mut self[mock_id];
mock.1 = MountedMockState::OutOfScope;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/mocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async fn new_starts_the_server() {
let mock_server = MockServer::start().await;

// Assert
assert!(TcpStream::connect(&mock_server.address()).is_ok())
assert!(TcpStream::connect(mock_server.address()).is_ok())
}

#[async_std::test]
Expand Down

0 comments on commit b2c5fc2

Please sign in to comment.