Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/benchmarks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The libraries we're comparing are the following:
- cattrs_ (23.2.3)

Each benchmark creates a message containing one or more ``File``/``Directory``
instances, then then serializes, deserializes, and validates it in a loop.
instances, then serializes, deserializes, and validates it in a loop.

The full benchmark source can be found
`here <https://github.com/jcrist/msgspec/tree/main/benchmarks/bench_validation>`__.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/structs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ The generated ``__init__()`` for ``Subclass`` looks like:

.. code-block:: python

def __init__(self, c: float, d: bytes = b"", * a: str, b: int = 0):
def __init__(self, c: float, d: bytes = b"", *, a: str, b: int = 0):

The field ordering rules for ``Struct`` types are identical to those for
`dataclasses`, see the `dataclasses docs <dataclasses>`_ for more information.
Expand Down