Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not collapse short lines in an array #3207

Closed
suhr opened this Issue Nov 18, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@suhr
Copy link

suhr commented Nov 18, 2018

Rustfmt suggests the following change:

     let client_pk = PublicKey([
-        252, 72, 40, 127, 213, 13, 0, 95,
-        13, 230, 176, 49, 69, 252, 220, 132,
-        48, 73, 227, 58, 218, 154, 215, 245,
-        23, 189, 223, 216, 153, 237, 130, 88
+        252, 72, 40, 127, 213, 13, 0, 95, 13, 230, 176, 49, 69, 252, 220, 132, 48, 73, 227, 58,
+        218, 154, 215, 245, 23, 189, 223, 216, 153, 237, 130, 88,
     ]);

@suhr suhr referenced this issue Nov 18, 2018

Open

WIP: Rustfmt #266

@nrc

This comment has been minimized.

Copy link
Member

nrc commented Nov 19, 2018

Closing since this is not possible under rustfmt's model.

@nrc nrc closed this Nov 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.