Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
network/src/legacy: Remove unnecessary super trait on GossipService (#…
Browse files Browse the repository at this point in the history
…891)

Remove `Send + Sync + 'static` super trait bound on `GossipService`. It
is not required by `GossipService` nor its `impl`s.
  • Loading branch information
mxinden authored Mar 9, 2020
1 parent 4b92656 commit 61e5d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/src/legacy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use std::task::{Context as PollContext, Poll};
use self::gossip::GossipMessage;

/// Basic gossip functionality that a network has to fulfill.
pub trait GossipService: Send + Sync + 'static {
pub trait GossipService {
/// Get a stream of gossip messages for a given hash.
fn gossip_messages_for(&self, topic: Hash) -> GossipMessageStream;

Expand Down

0 comments on commit 61e5d69

Please sign in to comment.