Skip to content

c_void documentation has a broken [pointer] link #4978

Description

@DanielEScherzer

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

Activity

  1. DanielEScherzer commented on Feb 15, 2026

    @DanielEScherzer
    Author

    Might be related to the fact that

    pub use core::ffi::c_void;

  2. tgross35 commented on Feb 16, 2026

    @tgross35
    Member

    That is weird, there isn't really anything we could do here. Would you mind opening an issue in rust-lang/rust? Whatever is causing this, I think it will need to be fixed on the rustdoc side.

  3. DanielEScherzer commented on Feb 16, 2026

    @DanielEScherzer
    Author

    That is weird, there isn't really anything we could do here. Would you mind opening an issue in rust-lang/rust? Whatever is causing this, I think it will need to be fixed on the rustdoc side.

    Filed rust-lang/rust#152693

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions