Skip to content

Commit

Permalink
chore: remove some unused Send and static trait bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
quake committed Apr 12, 2019
1 parent 1b69bb6 commit 586b89c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion network/src/network.rs
Expand Up @@ -451,7 +451,7 @@ pub struct NetworkService {
p2p_service: Service<EventHandler>,
network_state: Arc<NetworkState>,
// Background services
bg_services: Vec<Box<dyn Future<Item = (), Error = ()> + Send + 'static>>,
bg_services: Vec<Box<dyn Future<Item = (), Error = ()> + Send>>,
}

impl NetworkService {
Expand Down
2 changes: 1 addition & 1 deletion verification/src/block_verifier.rs
Expand Up @@ -31,7 +31,7 @@ pub struct BlockVerifier<P> {

impl<P> BlockVerifier<P>
where
P: ChainProvider + Clone + 'static,
P: ChainProvider + Clone,
{
pub fn new(provider: P) -> Self {
BlockVerifier {
Expand Down

0 comments on commit 586b89c

Please sign in to comment.