Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
ZhouHansen opened this issue Oct 13, 2018 · 2 comments
Closed

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

ZhouHansen opened this issue Oct 13, 2018 · 2 comments

Comments

@ZhouHansen
Copy link

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

@GuillaumeGomez
Copy link
Member

Shouldn't it be fixed by #53541? 😮

@ehuss
Copy link
Contributor

ehuss commented Oct 13, 2018

The fix is not available until 1.30 (beta).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants