Skip to content

Commit a75cefa

Browse files
Fix typo "chose" to "choose" in Changeset documentation (#4701)
1 parent 3560bad commit a75cefa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ecto/changeset.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,7 @@ defmodule Ecto.Changeset do
19461946
New comments or comments not associated to any post will be correctly
19471947
associated. Currently associated comments that do not have a matching ID
19481948
in the list of changesets will act according to the `:on_replace` association
1949-
configuration (you can chose to raise, ignore the operation, update or delete
1949+
configuration (you can choose to raise, ignore the operation, update or delete
19501950
them). If there are changes in any of the changesets, they will be
19511951
persisted too.
19521952
@@ -1958,7 +1958,7 @@ defmodule Ecto.Changeset do
19581958
New comments or comments not associated to any post will be correctly
19591959
associated. Currently associated comments that do not have a matching ID
19601960
in the list of changesets will act according to the `:on_replace`
1961-
association configuration (you can chose to raise, ignore the operation,
1961+
association configuration (you can choose to raise, ignore the operation,
19621962
update or delete them). Different to passing changesets, structs are not
19631963
change tracked in any fashion. In other words, if you change a comment
19641964
struct and give it to `put_assoc/4`, the updates in the struct won't be

0 commit comments

Comments
 (0)