Skip to content

Commit

Permalink
Remove weird wording around final para of optimistic_lock docs (elixi…
Browse files Browse the repository at this point in the history
  • Loading branch information
radar authored and josevalim committed Apr 11, 2016
1 parent 57ea6bb commit 09bd888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecto/changeset.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ defmodule Ecto.Changeset do
iex> changeset = Ecto.Changeset.optimistic_lock(post, :lock_version)
iex> Repo.delete(changeset)
Finally, keep in `optimistic_lock/3` by default assumes the field
`optimistic_lock/3` by default assumes the field
being used as a lock is an integer. If you want to use another type,
you need to pass the third argument customizing how the next value
is generated:
Expand Down

0 comments on commit 09bd888

Please sign in to comment.