Mark Future in PackedIrcClient as Send + 'static
This commit is contained in:
parent
48b5adf33b
commit
f02362c782
1 changed files with 2 additions and 2 deletions
|
@ -831,7 +831,7 @@ impl<'a> Future for IrcClientFuture<'a> {
|
||||||
/// 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 + 'static>);
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
|
|
Loading…
Reference in a new issue