diff options
Diffstat (limited to 'jsonrpc/src/server/service.rs')
-rw-r--r-- | jsonrpc/src/server/service.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonrpc/src/server/service.rs b/jsonrpc/src/server/service.rs index 787da86..5195d2c 100644 --- a/jsonrpc/src/server/service.rs +++ b/jsonrpc/src/server/service.rs @@ -9,6 +9,6 @@ type RPCMethodOutput<'a> = /// Defines the interface for an RPC service. pub trait RPCService: Sync + Send { - fn get_method<'a>(&'a self, name: &'a str) -> Option<RPCMethod>; + fn get_method(&self, name: &str) -> Option<RPCMethod>; fn name(&self) -> String; } |