Skip to content

Improve rustdoc formatting of long function names #34926

Closed
@moosingin3space

Description

@moosingin3space

This could integrate with rustfmt to make long function names easier to read.

In particular, http://tailhook.github.io/unshare/nix/sys/socket/fn.recvmsg.html
would be easier to read as:

pub fn recvmsg<'a, T>(fd: RawFd, 
                      iov: &[IoVec<&mut [u8]>], 
                      cmsg_buffer: Option<&'a mut CmsgSpace<T>>, 
                      flags: SockMessageFlags) 
               -> Result<RecvMsg<'a>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.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