Skip to content

Commit 3c487c1

Browse files
elisbyberijcrist
authored andcommitted
Fix typo and readability
1 parent 595c33c commit 3c487c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/schema-evolution.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For example, suppose we had a `msgspec.Struct` type representing a user:
2424

2525
.. code-block:: python
2626
27-
>>> import msgpsec
27+
>>> import msgspec
2828
2929
>>> from typing import Set, Optional
3030
@@ -48,7 +48,7 @@ accomplish this, we add ``phone`` as an _optional_ field (defaulting to
4848
... email: Optional[str] = None
4949
... phone : Optional[str] = None
5050
51-
Messages serialized using the new and old schemas can still be exchanged
51+
Messages serialized using both the old and new schemas can still be exchanged
5252
without error. If an old message is deserialized using the new schema, the
5353
missing fields all have default values that will be used. Likewise, if a new
5454
message is deserialized with the old schema the unknown new fields will be

0 commit comments

Comments
 (0)