We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac1a15a commit 4399e7dCopy full SHA for 4399e7d
core/src/macros.rs
@@ -11,14 +11,14 @@
11
#[macro_export]
12
macro_rules! jsonrpc_client {
13
(
14
- $(#[$struct_doc:meta])*
+ $(#[$struct_attr:meta])*
15
pub struct $struct_name:ident {$(
16
- $(#[$doc:meta])*
+ $(#[$attr:meta])*
17
pub fn $method:ident(&mut $selff:ident $(, $arg_name:ident: $arg_ty:ty)*)
18
-> RpcRequest<$return_ty:ty>;
19
)*}
20
) => (
21
- $(#[$struct_doc])*
+ $(#[$struct_attr])*
22
pub struct $struct_name<T: $crate::Transport> {
23
transport: T,
24
}
@@ -30,7 +30,7 @@ macro_rules! jsonrpc_client {
30
31
32
$(
33
- $(#[$doc])*
+ $(#[$attr])*
34
pub fn $method(&mut $selff $(, $arg_name: $arg_ty)*)
35
-> $crate::RpcRequest<$return_ty, T::Future>
36
{
0 commit comments