Rustdoc should render the Fn
traits with the sugary syntax
#19909
Labels
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Rustdoc currently displays
Fn
,FnMut
, andFnOnce
likeFn<(Args,), Return>
. That syntax is unsightly and will not be usable post-1.0, so it should probably render them asFn(Args) -> Return
instead.The text was updated successfully, but these errors were encountered: