From ed5906428a00c6344b90984b3df5a1b9d5e904ae Mon Sep 17 00:00:00 2001 From: Milan Cermak Date: Tue, 17 Aug 2021 23:30:34 +0200 Subject: [PATCH] Fix code-block directive in struct docs (#2422) 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. --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/types.rst b/docs/types.rst index 3ba97ab680..0e9ccc44a7 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -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: