-
Notifications
You must be signed in to change notification settings - Fork 977
Open
Description
rustfmt 1.4.18-nightly (c1e9b7b 2020-06-13)
When I run rustfmt on this, it stays like this:
self.renderer.render(
texture,
identity, // model
identity, // perspective
identity, // view
None, // alpha
false, // depth_test
&mut target,
);But when I remove &mut before target:
self.renderer.render(
texture,
identity, // model
identity, // perspective
identity, // view
None, // alpha
false, // depth_test
target,
);rustfmt formats it like this:
self.renderer.render(
texture, identity, // model
identity, // perspective
identity, // view
None, // alpha
false, // depth_test
target,
);Note: texture, identity, // model in one line.
:(
Expected output
self.renderer.render(
texture,
identity, // model
identity, // perspective
identity, // view
None, // alpha
false, // depth_test
target,
);Metadata
Metadata
Assignees
Labels
I-poor-formattingIssue: poor formattingIssue: poor formatting