Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ephemient committed Dec 27, 2024
1 parent fd019d9 commit f6264c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fun day21(outputDir: Path, className: ClassName = ClassName("com.github.ephemien
.build()
)
.addFunctions(
arrayOf(IndexedValue(2, "part1"), IndexedValue(25, "part2")).map { (depth, name) ->
arrayOf("part1", "part2").map { name ->
FunSpec.builder(name)
.returns(LONG)
.beginControlFlow("return %N.%M", "lines", MemberName("kotlin.collections", "sumOf"))
Expand Down

0 comments on commit f6264c6

Please sign in to comment.