From 58a5dcd502dbfac10a3e521284bbc25d82c3596e Mon Sep 17 00:00:00 2001 From: ziggie Date: Mon, 20 Nov 2023 19:55:56 +0100 Subject: [PATCH] docs: add formatting rule for function calls. --- docs/code_formatting_rules.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/code_formatting_rules.md b/docs/code_formatting_rules.md index e534d9b8a..8db66ce20 100644 --- a/docs/code_formatting_rules.md +++ b/docs/code_formatting_rules.md @@ -203,6 +203,9 @@ func foo(a, b, func baz(a, b, c) (d, error) { + +func longFunctionName( + a, b, c) (d, error) { ``` If a function declaration spans multiple lines the body should start with an