News for hackers. Stuff that matters.
Re:Why Discord is switching from Go to Rust by masklinn on Tuesday February 04, 2020 @03:21PM (#22240501)
Checking the original code on the playground, Go just reindents everything using one tab per level. So if the funcall is indented by 2 (tabs), the line-broken arguments are indented by 3 (not aligned with the open paren).

rustfmt looks to try and be "smarter" as it will move the argslist and add linebreaks to it go not go beyond whatever limit is configured on the playground, gofmt apparently doesn't insert breaks in arglists.

There are no comments on this comment yet.