Merge pull request #8353 from mohamedawnallah/fix-typo-code-formatting-rules
docs: fix typo "paren" to "parenthesis" in `code_formatting_rules.md` [skip ci]
This commit is contained in:
1 file changed
+2
-2
@@ -124,8 +124,8 @@ myKey := "0214cd678a565041d00e6cf8d62ef8add33b4af4786fb2beb87b366a2e1" +
|
|||||||
### Wrapping long function calls
|
### Wrapping long function calls
|
||||||
|
|
||||||
When wrapping a line that contains a function call as the unwrapped line exceeds
|
When wrapping a line that contains a function call as the unwrapped line exceeds
|
||||||
the column limit, the close paren should be placed on its own line.
|
the column limit, the close parenthesis should be placed on its own line.
|
||||||
Additionally, all arguments should begin in a new line after the open paren.
|
Additionally, all arguments should begin in a new line after the open parenthesis.
|
||||||
|
|
||||||
**WRONG**
|
**WRONG**
|
||||||
```go
|
```go
|
||||||
|
|||||||
Reference in new issue
Block a user