mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-09 04:54:53 +01:00
Rustdoc: link RPC futures to their methods.
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user