Merge pull request #157 from theduke/packed-client-send-bound
Add 'Send' bound for PackedClient client future.
This commit is contained in:
commit
771200e503
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue