Dependencis bump (#595)

This commit is contained in:
Roey Darwish Dror
2021-01-07 10:03:20 +02:00
committed by GitHub
parent 31db02d95a
commit e3879a1c90
4 changed files with 247 additions and 475 deletions

View File

@@ -222,7 +222,7 @@ impl Git {
futures_iterator.collect::<FuturesUnordered<_>>().boxed()
};
let mut basic_rt = runtime::Runtime::new()?;
let basic_rt = runtime::Runtime::new()?;
let results = basic_rt.block_on(async { stream_of_futures.collect::<Vec<Result<()>>>().await });
let error = results.into_iter().find(|r| r.is_err());

View File

@@ -52,7 +52,7 @@ struct Vagrant {
}
impl Vagrant {
fn get_boxes<'a>(&self, directory: &'a str) -> Result<Vec<VagrantBox>> {
fn get_boxes(&self, directory: &str) -> Result<Vec<VagrantBox>> {
let path: Rc<Path> = Path::new(directory).into();
let output = Command::new(&self.path)