We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
brace_style
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
New struct instances don't adhere to brace_style. For example, when brace_style = "AlwaysNextLine", a new struct instance will look like this:
struct
brace_style = "AlwaysNextLine"
let value = MyStruct { something: 1 }
When it should look like this:
Originally posted by @Sibz in #3376 (comment)
The text was updated successfully, but these errors were encountered:
This also applies when using macro variables:
$foo { bar: 1 }
Edit: looks like the above is a also related to:
let foo = { 3 };
And:
foo.bar({ 3 });
Blocks without a context (like unsafe) don't get put on the next line
unsafe
Sorry, something went wrong.
Thanks for opening all these, but I'm going to close all of them, at least for the time being, pending conclusion of the strategy discussion in #3376
macro_rules!
async
Alright. Perhaps given the introduction of a new option fitting this scope they can be reopened 👍
No branches or pull requests
New
struct
instances don't adhere tobrace_style
. For example, whenbrace_style = "AlwaysNextLine"
, a new struct instance will look like this:When it should look like this:
Originally posted by @Sibz in #3376 (comment)
The text was updated successfully, but these errors were encountered: