diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-09-15 21:52:40 -0400 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2017-09-15 21:52:40 -0400 |
| commit | 5ff7064330db0598a7cde9b88412cd09a0c3a305 (patch) | |
| tree | df2f5d250dfa7c6af73a3fd22570b0b7c3193d97 /src/libstd/sys_common | |
| parent | 94211416bcde4d1049f241b6c95594e28c8865e6 (diff) | |
| download | rust-5ff7064330db0598a7cde9b88412cd09a0c3a305.tar.gz rust-5ff7064330db0598a7cde9b88412cd09a0c3a305.zip | |
Fix incorrect `into_inner` link in docs.
Fixes https://github.com/rust-lang/rust/issues/42373.
Diffstat (limited to 'src/libstd/sys_common')
| -rw-r--r-- | src/libstd/sys_common/poison.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys_common/poison.rs b/src/libstd/sys_common/poison.rs index 0127a9eb759..3c61593acc5 100644 --- a/src/libstd/sys_common/poison.rs +++ b/src/libstd/sys_common/poison.rs @@ -98,7 +98,7 @@ pub enum TryLockError<T> { /// /// [`Ok`]: ../../std/result/enum.Result.html#variant.Ok /// [`Err`]: ../../std/result/enum.Result.html#variant.Err -/// [`into_inner`]: ../../std/sync/struct.Mutex.html#method.into_inner +/// [`into_inner`]: ../../std/sync/struct.PoisonError.html#method.into_inner #[stable(feature = "rust1", since = "1.0.0")] pub type LockResult<Guard> = Result<Guard, PoisonError<Guard>>; |
