File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ impl CollectWarnings {
406406 Ok ( ( ) )
407407 } else if extra. check . enabled ( ) {
408408 // note: I think this should never actually happen since we use `to_python(..., mode='json')` during
409- // JSON serialisation to "try" union branches, but it's here for completeness/correctness
409+ // JSON serialization to "try" union branches, but it's here for completeness/correctness
410410 // in particular, in future we could allow errors instead of warnings on fallback
411411 Err ( S :: Error :: custom ( UNEXPECTED_TYPE_SER_MARKER ) )
412412 } else {
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ impl TypeSerializer for ModelSerializer {
205205 } else if self . allow_value ( value, & model_extra) ? {
206206 let inner_value = self . get_inner_value ( value, & model_extra) ?;
207207 // There is strong coupling between a model serializer and its child, we should
208- // not fall back to type inference in the midddle .
208+ // not fall back to type inference in the middle .
209209 self . serializer
210210 . to_python_no_infer ( & inner_value, include, exclude, & model_extra)
211211 } else {
You can’t perform that action at this time.
0 commit comments