Skip to content

rustdoc doesn't render argument names of reexported FFI functions #21917

@huonw

Description

@huonw

E.g. http://doc.rust-lang.org/nightly/std/intrinsics/fn.volatile_set_memory.html

 pub unsafe fn volatile_set_memory<T>(*mut T, u8, usize)

vs. http://doc.rust-lang.org/nightly/core/intrinsics/fn.volatile_set_memory.html

pub unsafe fn volatile_set_memory<T>(dst: *mut T, val: u8, count: usize)

The docs refer to parameters by name, so this functionality is useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions