Skip to content

Commit e12112c

Browse files
committed
cosmetic
1 parent 95dd26b commit e12112c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/GenCodec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ JsonStringOutput.write[Int](123) // JSON: 123
266266
JsonStringInput.read[Int]("123") // 123
267267

268268
// `Option`, `Opt`, `NOpt`, `OptRef` and `OptArg` are represented either as `null` (when empty) or directly
269-
// as the underlying value (when non-empty). `Some(null)` should not be used - it is indistinguishable from `None`
270-
// unless the codec for the type wrapped in `Option` has some special `null` handling.
269+
// as the underlying value (when non-empty). `Some(null)` should not be used - it is indistinguishable from
270+
// `None` unless the codec for the type wrapped in `Option` has some special `null` handling.
271271
val raw = simpleWrite[Option[String]](None) // JSON: null
272272
simpleRead[Option[String]]("null") // None
273273

0 commit comments

Comments
 (0)