Skip to content

Commit

Permalink
Merge pull request #157 from theduke/packed-client-send-bound
Browse files Browse the repository at this point in the history
Add 'Send' bound for PackedClient client future.
  • Loading branch information
aatxe authored Oct 4, 2018
2 parents 8d054dc + e112efe commit 771200e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ impl Future for IrcClientFuture {
/// This type should only be used by advanced users who are familiar with the implementation of this
/// crate. An easy to use abstraction that does not require this knowledge is available via
/// [`IrcReactors`](./reactor/struct.IrcReactor.html).
pub struct PackedIrcClient(pub IrcClient, pub Box<Future<Item = (), Error = error::IrcError>>);
pub struct PackedIrcClient(pub IrcClient, pub Box<Future<Item = (), Error = error::IrcError> + Send>);

#[cfg(test)]
mod test {
Expand Down

0 comments on commit 771200e

Please sign in to comment.