Skip to content

Commit

Permalink
fixup: stale doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Jan 3, 2025
1 parent ad5ed96 commit 8ce7eac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions talpid-wireguard/src/connectivity/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ impl Check {
}

#[cfg(test)]
/// Create a new [Check] with a custom initial state. To use the [Cancellable] strategy,
/// see [Check::with_cancellation].
/// Create a new [Check] with a custom initial state.
pub(super) fn mock(conn_state: ConnState, ping_state: PingState) -> (Self, CancelToken) {
let (cancel_token, cancel_receiver) = CancelToken::new();
(
Expand Down

0 comments on commit 8ce7eac

Please sign in to comment.