Skip to content

Commit 27afa70

Browse files
authored
Fix typos (#951)
1 parent 40b62da commit 27afa70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/supported-types.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protocols.
8282
--------
8383

8484
`None` maps to the ``null`` value in all supported protocols. Note that TOML_
85-
lacks a ``null`` value, attempted to encode a message containing ``None`` to
85+
lacks a ``null`` value, attempting to encode a message containing ``None`` to
8686
``TOML`` will result in an error.
8787

8888
.. code-block:: python
@@ -1436,12 +1436,12 @@ Union restrictions are as follows:
14361436
``Raw``
14371437
-------
14381438

1439-
`msgspec.Raw` is a buffer-like type containing an already encoded messages.
1439+
`msgspec.Raw` is a buffer-like type containing an already-encoded message.
14401440
They have two common uses:
14411441

14421442
**1. Avoiding unnecessary encoding cost**
14431443

1444-
Wrapping an already encoded buffer in `msgspec.Raw` lets the encoder avoid
1444+
Wrapping an already-encoded buffer in `msgspec.Raw` lets the encoder avoid
14451445
re-encoding the message, instead it will simply be copied to the output buffer.
14461446
This can be useful when part of a message already exists in an encoded format
14471447
(e.g. reading JSON bytes from a database and returning them as part of a larger

0 commit comments

Comments
 (0)