Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.

Commit 05b3bf0

Browse files
committed
Added suggestion for multiline function invocations
1 parent aa0ab8f commit 05b3bf0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

style/whitespace.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,18 @@ foo_bar(x, y, |z| {
7575
})
7676
```
7777

78+
> **[OPEN]** Do we also want to allow the following?
79+
>
80+
> ```rust
81+
> frobnicate(
82+
> arg1,
83+
> arg2,
84+
> arg3)
85+
> ```
86+
>
87+
> This style could ease the conflict between line length and functions
88+
> with many parameters (or long method chains).
89+
7890
### Matches
7991
8092
> * **[Deprecated]** If you have multiple patterns in a single `match`

0 commit comments

Comments
 (0)