mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Merge branch 'trunk' of github.com:rtfeldman/roc into docs-parse-code-blocks
This commit is contained in:
commit
1ff614b2f1
94 changed files with 6432 additions and 3889 deletions
|
@ -653,7 +653,7 @@ fn should_be_multiline(type_ann: &TypeAnnotation) -> bool {
|
|||
is_multiline
|
||||
}
|
||||
TypeAnnotation::Function { args, output } => {
|
||||
let mut is_multiline = should_be_multiline(output) || args.len() > 1;
|
||||
let mut is_multiline = should_be_multiline(output) || args.len() > 2;
|
||||
|
||||
for arg in args {
|
||||
if is_multiline {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue