aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/src/syntax/analyze.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rtic-macros/src/syntax/analyze.rs')
-rw-r--r--rtic-macros/src/syntax/analyze.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtic-macros/src/syntax/analyze.rs b/rtic-macros/src/syntax/analyze.rs
index 57f9f2cd..3e5e80bd 100644
--- a/rtic-macros/src/syntax/analyze.rs
+++ b/rtic-macros/src/syntax/analyze.rs
@@ -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);
}
'>jarred/jsc Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/integration/snippets/tsx-fallback-rewrite-works.tsx (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-04-21Add `bun run ${script-name}` clarification (#151)Gravatar Lawrence Chen 1-0/+4
2022-04-20[misc] Fix broken build on macOSGravatar Jarred Sumner 2-5/+11
2022-04-18[misc] explain why wasm isn't released yetGravatar Jarred Sumner 1-1/+4