Skip to content

Commit

Permalink
Merge pull request #1 from n4to4/patch-1
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
jeremyrsmith authored Jan 9, 2017
2 parents 50465e4 + 9b2765a commit 00ff587
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ libraryDependencies += "io.github.jeremyrsmith" %% "patchless" % "1.0.2"
```

## Usage
The core of patchless provides only tw0 simple way to create a `Patch[T]` for any given `T`:
The core of patchless provides only two simple way to create a `Patch[T]` for any given `T`:

* The `apply` syntax (macro-driven):

Expand Down Expand Up @@ -100,7 +100,7 @@ libraryDependencies += "io.github.jeremyrsmith" %% "patchless-circe" % "1.0.2"
```

There are two different imports, depending on how you're using circe. You need to have at least `circe-generic`, and
you can also optionall use `circe-generic-extras` (which is marked as a provided dependency in case you don't use it).
you can also optionally use `circe-generic-extras` (which is marked as a provided dependency in case you don't use it).

You also need to be using automatic derivation for this to be of any use; it's not possible to derive a `Patch[T]` decoder
for a semiauto or manual decoder of `T`.
Expand Down

0 comments on commit 00ff587

Please sign in to comment.