Minor fixes

This commit is contained in:
世界
2024-06-26 01:23:25 +08:00
parent fba1072910
commit 8df5f10d61
11 changed files with 101 additions and 115 deletions

View File

@@ -11,6 +11,11 @@ fun Iterable<String>.toStringIterator(): StringIterator {
return object : StringIterator {
val iterator = iterator()
override fun len(): Int {
// not used by core
return 0
}
override fun hasNext(): Boolean {
return iterator.hasNext()
}