We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 966b4d5 commit 449dc11Copy full SHA for 449dc11
runtime/commonMain/src/kotlinx/serialization/Decoding.kt
@@ -93,7 +93,7 @@ import kotlinx.serialization.modules.*
93
*
94
* ...
95
* override fun decodeDouble(): Double = decodeString().toDouble()
96
- * override fun decodeInt(): Double = decodeString().toInt()
+ * override fun decodeInt(): Int = decodeString().toInt()
97
98
* }
99
* ```
0 commit comments