Fix CI with async_fn_in_trait not being a feature

This commit is contained in:
Emil Fresk 2023-11-01 20:41:28 +01:00
parent 52aa56e265
commit 3c9a8f290d
5 changed files with 3 additions and 5 deletions

View file

@ -193,7 +193,7 @@ pub(crate) fn app(app: &App) -> Result<Analysis, syn::Error> {
// Collect errors if any and return/halt
if !error.is_empty() {
let mut err = error.get(0).unwrap().clone();
let mut err = error.first().unwrap().clone();
error.iter().for_each(|e| err.combine(e.clone()));
return Err(err);
}