Merge pull request #157 from theduke/packed-client-send-bound

Add 'Send' bound for PackedClient client future.
This commit is contained in:
Aaron Weiss 2018-10-04 14:43:00 -04:00 committed by GitHub
commit 771200e503
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 /// 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 /// crate. An easy to use abstraction that does not require this knowledge is available via
/// [`IrcReactors`](./reactor/struct.IrcReactor.html). /// [`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)] #[cfg(test)]
mod test { mod test {