Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Jul 16, 2024
1 parent 146218a commit a200f6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/ComposableArchitectureMacros/ReducerMacro.swift
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,7 @@ private enum ReducerCase {
let parameter = parameterClause.parameters.first,
parameter.type.is(IdentifierTypeSyntax.self) || parameter.type.is(MemberTypeSyntax.self)
{
if
let type = parameter.type.as(IdentifierTypeSyntax.self),
if let type = parameter.type.as(IdentifierTypeSyntax.self),
type.isEphemeral,
let generics = type.genericArgumentClause?.arguments,
generics.count == 1,
Expand Down

0 comments on commit a200f6a

Please sign in to comment.