Skip to content

Commit 11baa46

Browse files
committed
Reduce the amount of given
1 parent 0b7a423 commit 11baa46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/ecto/changeset.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,10 @@ defmodule Ecto.Changeset do
410410
end
411411

412412
@doc """
413-
Applies the given `params` as changes for the given `data` according to
414-
the given set of `permitted` keys. Returns a changeset.
413+
Applies the given `params` as changes on the `data` according to
414+
the set of `permitted` keys. Returns a changeset.
415415
416-
The given `data` may be either a changeset, a schema struct or a `{data, types}`
416+
`data` may be either a changeset, a schema struct or a `{data, types}`
417417
tuple. The second argument is a map of `params` that are cast according
418418
to the type information from `data`. `params` is a map with string keys
419419
or a map with atom keys, containing potentially invalid data. Mixed keys
@@ -1153,7 +1153,7 @@ defmodule Ecto.Changeset do
11531153
Updates a change.
11541154
11551155
The given `function` is invoked with the change value only if there
1156-
is a change for the given `key`. Note that the value of the change
1156+
is a change for `key`. Note that the value of the change
11571157
can still be `nil` (unless the field was marked as required on `validate_required/3`).
11581158
11591159
## Examples

0 commit comments

Comments
 (0)