mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 21:05:35 +01:00
Fix CI with async_fn_in_trait not being a feature
This commit is contained in:
parent
52aa56e265
commit
3c9a8f290d
5 changed files with 3 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue