Update tests for the Send - 'static change.
This commit is contained in:
parent
adfcd93f0c
commit
7a14f4994e
25 changed files with 52 additions and 183 deletions
|
@ -458,7 +458,7 @@ impl Child {
|
|||
/// the parent waits for the child to exit.
|
||||
pub fn wait_with_output(mut self) -> io::Result<Output> {
|
||||
drop(self.stdin.take());
|
||||
fn read<T: Read + Send>(stream: Option<T>) -> Receiver<io::Result<Vec<u8>>> {
|
||||
fn read<T: Read + Send + 'static>(stream: Option<T>) -> Receiver<io::Result<Vec<u8>>> {
|
||||
let (tx, rx) = channel();
|
||||
match stream {
|
||||
Some(stream) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue