Skip to content

Commit

Permalink
network/src/legacy: Remove unnecessary super trait on GossipService (p…
Browse files Browse the repository at this point in the history
…aritytech#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 and General-Beck committed Mar 19, 2020
1 parent 8f4fe08 commit f53210d
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 f53210d

Please sign in to comment.