Skip to content

Commit

Permalink
Fix code-block directive in struct docs (#2422)
Browse files Browse the repository at this point in the history
The documentation is currently [missing a code example on how to define structs](https://vyper.readthedocs.io/en/stable/types.html#structs). That's because the `code-block` RST directive is missing a language argument. This PR fixes it.
  • Loading branch information
milancermak authored Aug 17, 2021
1 parent f1c65b7 commit ed59064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ Struct types can be used inside mappings and arrays. Structs can contain arrays

Struct members can be accessed via ``struct.argname``.

.. code-block::
.. code-block:: python
# Defining a struct
struct MyStruct:
Expand Down

0 comments on commit ed59064

Please sign in to comment.