[2.x] refactor: Remove unnecessary asInstanceOf (#8791)

This commit is contained in:
kenji yoshida 2026-02-23 13:46:21 +09:00 committed by GitHub
parent 62e43711f2
commit b3401a009e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ object TupleMapExtension:
// typed version of tuple.toList
def toList0: List[F1[Any]] =
tuple.iterator.toList.asInstanceOf[List[F1[Any]]]
tuple.iterator.toList
def unmap(f: [a] => F1[a] => a): Tup = transform[[A] =>> A](f).asInstanceOf[Tup]
def transform[F2[_]](f: [a] => F1[a] => F2[a]): Tuple.Map[Tup, F2] =