Skip to content

Commit

Permalink
trivial fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jan 24, 2025
1 parent 3e4eda0 commit 5590d57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/emotion/transform/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ impl<'a, C: Comments> EmotionTransformer<'a, C> {
}
}

impl<C: Comments> Fold for EmotionTransformer<C> {
impl<C: Comments> Fold for EmotionTransformer<'_, C> {
fn fold_call_expr(&mut self, mut expr: CallExpr) -> CallExpr {
// If no package that we care about is imported, skip the following
// transformation logic.
Expand Down Expand Up @@ -987,7 +987,7 @@ fn remove_space_around_colon(input: &str, is_first_item: bool, is_last_item: boo
)
}

impl<C> Pass for EmotionTransformer<C>
impl<C> Pass for EmotionTransformer<'_, C>
where
C: Comments,
{
Expand Down

0 comments on commit 5590d57

Please sign in to comment.