Skip to content

Commit f151622

Browse files
authored
Rollup merge of rust-lang#44622 - frewsxcv:frewsxcv-invalid-link, r=QuietMisdreavus
Fix incorrect `into_inner` link in docs. Fixes rust-lang#42373.
2 parents e781cba + 5ff7064 commit f151622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys_common/poison.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub enum TryLockError<T> {
9898
///
9999
/// [`Ok`]: ../../std/result/enum.Result.html#variant.Ok
100100
/// [`Err`]: ../../std/result/enum.Result.html#variant.Err
101-
/// [`into_inner`]: ../../std/sync/struct.Mutex.html#method.into_inner
101+
/// [`into_inner`]: ../../std/sync/struct.PoisonError.html#method.into_inner
102102
#[stable(feature = "rust1", since = "1.0.0")]
103103
pub type LockResult<Guard> = Result<Guard, PoisonError<Guard>>;
104104

0 commit comments

Comments
 (0)