Skip to content

Commit

Permalink
docs: fix broken rustdoc links (#273)
Browse files Browse the repository at this point in the history
PR #151 added a CI job to try and build the documentation, failing on
RustDoc errors. It turned out there was a handful of broken links, so
that job is now failing. 

I meant to fix this as part of #151 but accidentally automerged it
before fixing the docs, since automerge wasn't configured to require the
docs build job to pass. Whoops.

Signed-off-by: Eliza Weisman <[email protected]>
  • Loading branch information
hawkw authored May 19, 2022
1 parent 9544793 commit 7143661
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ pub unsafe fn alloc_zeroed(layout: Layout) -> *mut u8 {
/// See [`GlobalAlloc::dealloc`].
///
/// [`GlobalAlloc::dealloc`]: std::alloc::GlobalAlloc::dealloc
/// [`loom::alloc::alloc`]: crate::alloc::alloc
/// [`loom::alloc::alloc_zeroed`]: crate::alloc::alloc_zeroed
#[track_caller]
pub unsafe fn dealloc(ptr: *mut u8, layout: Layout) {
rt::dealloc(ptr, location!());
Expand Down
2 changes: 1 addition & 1 deletion src/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl Thread {
self.name.as_deref()
}

/// Mock implementation of [`std::thread::unpark`].
/// Mock implementation of [`std::thread::Thread::unpark`].
///
/// Atomically makes the handle's token available if it is not already.
///
Expand Down

0 comments on commit 7143661

Please sign in to comment.