File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 .
14401440They 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
14451445re-encoding the message, instead it will simply be copied to the output buffer.
14461446This 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
You can’t perform that action at this time.
0 commit comments