Skip to content

Commit 941e426

Browse files
Remove redundant type parameter <T> in ParserStructure.simplify method definition
1 parent 7fcb699 commit 941e426

File tree

1 file changed

+1
-1
lines changed
  • core/common/src/internal/format/parser

1 file changed

+1
-1
lines changed

core/common/src/internal/format/parser/Parser.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ internal fun <T> List<ParserStructure<T>>.concat(): ParserStructure<T> {
4949
ParserStructure(operations, followedBy.map { it.append(other) })
5050
}
5151

52-
fun <T> ParserStructure<T>.simplify(unconditionalModifications: List<UnconditionalModification<T>>): ParserStructure<T> {
52+
fun ParserStructure<T>.simplify(unconditionalModifications: List<UnconditionalModification<T>>): ParserStructure<T> {
5353
val newOperations = mutableListOf<ParserOperation<T>>()
5454
var currentNumberSpan: MutableList<NumberConsumer<T>>? = null
5555
val unconditionalModificationsForTails = unconditionalModifications.toMutableList()

0 commit comments

Comments
 (0)