Skip to content

Commit

Permalink
🧹 cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Philogy committed Oct 19, 2024
1 parent e37ad77 commit b14c170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/analysis/src/label_stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ impl<V> Default for LabelStack<'_, V> {
fn default() -> Self {
Self::new()
}
}
}
4 changes: 1 addition & 3 deletions crates/analysis/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ fn analyze_macro<'ast: 'src, 'src, E: FnMut(AnalysisError<'ast, 'src>)>(
#[allow(clippy::redundant_closure)]
args.iter()
.filter_map(|arg| analyze_instruction(arg, label_stack))
.for_each(
|err| emit_error(err),
);
.for_each(|err| emit_error(err));
// Emit error if we don't find at least 1 macro by the given name.
if !global_exists!(global_defs, name.ident(), Definition::Macro(_)) {
emit_error(AnalysisError::DefinitionNotFound {
Expand Down

0 comments on commit b14c170

Please sign in to comment.