c_void documentation has a broken `[pointer]` link

Open
#4,978 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
58/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
rust
Domain
documentation

Research direction

Compare the cited docs.rs libc::c_void page with the Rust standard-library c_void page, then locate the source for the c_void documentation in this repository. Fix the missing pointer link and verify that the generated docs.rs text links to the pointer documentation.

Written by the indexing model from the issue text.

Description

C-bug

Compare https://docs.rs/libc/0.2.182/libc/enum.c_void.html with https://doc.rust-lang.org/std/ffi/enum.c_void.html - the former has

Equivalent to C’s void type when used as a [pointer].

while the later has

Equivalent to C’s void type when used as a pointer.

The link should be fixed in the docs.rs documentation for the crate

Dominant language
Rust
Stars
2.6k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
27

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/libc

All issues in rust-lang/libc

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.