Rustdoc: link RPC futures to their methods.

This commit is contained in:
Tim Kuehn
2021-04-20 11:25:26 -07:00
parent 0b315c29bf
commit 0a15e0b75c

View File

@@ -479,7 +479,7 @@ impl<'a> ServiceGenerator<'a> {
),
output,
)| {
let ty_doc = format!("The response future returned by {}.", ident);
let ty_doc = format!("The response future returned by [`{}::{}`].", service_ident, ident);
quote! {
#[doc = #ty_doc]
type #future_type: std::future::Future<Output = #output>;