Skip to content

Commit 449dc11

Browse files
authored
Fix documentation typo (#864)
1 parent 966b4d5 commit 449dc11

File tree

1 file changed

+1
-1
lines changed
  • runtime/commonMain/src/kotlinx/serialization

1 file changed

+1
-1
lines changed

runtime/commonMain/src/kotlinx/serialization/Decoding.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ import kotlinx.serialization.modules.*
9393
*
9494
* ...
9595
* override fun decodeDouble(): Double = decodeString().toDouble()
96-
* override fun decodeInt(): Double = decodeString().toInt()
96+
* override fun decodeInt(): Int = decodeString().toInt()
9797
* ...
9898
* }
9999
* ```

0 commit comments

Comments
 (0)