Skip to content

Commit

Permalink
Fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-Janggun committed Jan 2, 2025
1 parent aa81fc1 commit 50ffab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lock/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub unsafe trait RawLock: Default + Send + Sync {
/// # Safety
///
/// - `self` must be a an acquired lock.
/// - `token` must be from a [`RawLock::lock`] or [`RawTryLock::unlock`] call to `self`.
/// - `token` must be from a [`RawLock::lock`] or [`RawTryLock::try_lock`] call to `self`.
unsafe fn unlock(&self, token: Self::Token);
}

Expand Down

0 comments on commit 50ffab9

Please sign in to comment.