Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
jeparlefrancais committed May 17, 2024
1 parent fbc9a0e commit d93a1a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
4 changes: 1 addition & 3 deletions src/nodes/expressions/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,5 @@ impl FunctionExpression {
}
}

super::impl_token_fns!(
iter = [parameters, generic_parameters, tokens]
);
super::impl_token_fns!(iter = [parameters, generic_parameters, tokens]);
}
4 changes: 1 addition & 3 deletions src/nodes/expressions/if_expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ impl IfExpression {
self.branches.iter_mut()
}

super::impl_token_fns!(
iter = [tokens, branches]
);
super::impl_token_fns!(iter = [tokens, branches]);
}

#[derive(Clone, Debug, PartialEq, Eq)]
Expand Down
4 changes: 1 addition & 3 deletions src/nodes/types/generics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ impl GenericParameters {
self.tokens.as_ref()
}

super::impl_token_fns!(
iter = [type_variables, generic_type_packs, tokens]
);
super::impl_token_fns!(iter = [type_variables, generic_type_packs, tokens]);
}

#[derive(Clone, Debug, PartialEq, Eq)]
Expand Down
3 changes: 1 addition & 2 deletions src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,7 @@ mod test {
};
}

macro_rules!
test_parse_last_statement_with_tokens {
macro_rules! test_parse_last_statement_with_tokens {
($($name:ident($input:literal) => $value:expr),* $(,)?) => {
test_parse_block_with_tokens!(
$(
Expand Down

0 comments on commit d93a1a9

Please sign in to comment.