Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmengels committed Apr 24, 2021
1 parent c7c7df3 commit 442fe10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/NoUnused/CustomTypeConstructorArgs.elm
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,7 @@ collectUsedCustomTypeArgs lookupTable (Node range pattern) =
in
case ModuleNameLookupTable.moduleNameAt lookupTable range of
Just moduleName ->
[ ( ( moduleName, name ), usedPositions ) ]
++ subList
( ( moduleName, name ), usedPositions ) :: subList

Nothing ->
subList
Expand Down

0 comments on commit 442fe10

Please sign in to comment.