From ef278ebe0ca134784d8afc00241a20fcc55ff3d0 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Sat, 10 Mar 2018 14:15:52 -0800 Subject: Fix typos --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0f5bc7d..8aabeeb 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ message. For example: ```scala import spray.json._ -class X() // not that X is not a case class, hence a format cannot be derived +class X() // note that X is not a case class, hence a format cannot be derived case class Y(x: X) case class Z(y: Y, w: Int) @@ -108,7 +108,10 @@ object MyProtocol extends DefaultJsonProtocol with DerivedFormats { ### Implicit Derived Formats -It is also possible to summon derived formats implicitly by mixing in `ImplicitDerivedFormats`instead of `DerivedFormats`. This makes it possible to use derived formats without explicitly creating them first: +It is also possible to summon derived formats implicitly by mixing in +`ImplicitDerivedFormats`instead of `DerivedFormats`. This makes it +possible to use derived formats without explicitly creating them +first: ```scala import spray.json._ @@ -132,9 +135,9 @@ of drawbacks to consider: 2. Macros that enable format derivation are expanded at every callsite. In other words, the compiler will try to create JSON - formats at every point an implicit RootJsonFormat is required fo a - case class. This can increase compile times and binary size if - formats are required in many locations + formats at every point where an implicit `RootJsonFormat` is + required for a case class. This can increase compile times and + binary size if formats are required in many locations. ### Documentation -- cgit v1.2.3