From 6f758a6c956fcea7f07cf844bb8f9389dce69ae3 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 18 Sep 2018 15:06:49 +0100 Subject: Include pragma in 'Order of Layout' in the style guide --- docs/style-guide.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/style-guide.rst b/docs/style-guide.rst index 511236b9..b97beebd 100644 --- a/docs/style-guide.rst +++ b/docs/style-guide.rst @@ -880,10 +880,11 @@ Order of Layout Layout contract elements in the following order: -1. Import statements -2. Interfaces -3. Libraries -4. Contracts +1. Pragma statements +2. Import statements +3. Interfaces +4. Libraries +5. Contracts Inside each contract, library or interface, use the following order: -- cgit v1.2.3