diff options
author | hozan23 <hozan23@karyontech.net> | 2024-10-12 22:24:06 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-10-12 22:24:06 +0200 |
commit | c2c4cb08c370bc27a06fa89403354859f791c23f (patch) | |
tree | 00b71fcc592c871ec35af1f0adf771c9ccee5de2 /jsonrpc/src/server/pubsub_service.rs | |
parent | 6360d6f69a1f3470493fb10eaca645115bec0fe6 (diff) |
cargo clippy
Diffstat (limited to 'jsonrpc/src/server/pubsub_service.rs')
-rw-r--r-- | jsonrpc/src/server/pubsub_service.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonrpc/src/server/pubsub_service.rs b/jsonrpc/src/server/pubsub_service.rs index 909b0b0..0775880 100644 --- a/jsonrpc/src/server/pubsub_service.rs +++ b/jsonrpc/src/server/pubsub_service.rs @@ -12,6 +12,6 @@ type PubSubRPCMethodOutput<'a> = /// Defines the interface for an RPC service. pub trait PubSubRPCService: Sync + Send { - fn get_pubsub_method<'a>(&'a self, name: &'a str) -> Option<PubSubRPCMethod>; + fn get_pubsub_method(&self, name: &str) -> Option<PubSubRPCMethod>; fn name(&self) -> String; } |