Skip to content

Document does not show function return type which use keyword impl  #55034

Closed
@ZhouHansen

Description

@ZhouHansen

My function is:

fn batcher() -> impl Fn(usize) -> () {
// ...
}

I run cargo doc --open, the document of this function lacks of return type:

pub fn batcher() -> 

cargo version: cargo 1.29.0-nightly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions