-
Notifications
You must be signed in to change notification settings - Fork 925
Use brace_style
for struct instantiation
#4938
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
Comments
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 |
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 |
Alright. Perhaps given the introduction of a new option fitting this scope they can be reopened 👍 |
Uh oh!
There was an error while loading. Please reload this page.
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: