-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
metadata: change resolve serialization #2331
Conversation
.unwrap_or(Vec::new()), | ||
} | ||
}) | ||
.collect(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stylistically this tends to look moreso like:
nodes: resolve.iter().map(|id| {
Node {
foo: ...
}
}).collect()
(helps cut down on the indentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, rustfmt
tends to drift rightwards :(
04fb2cf
to
8456d2a
Compare
rebased |
I've added support for this format to intellij-rust: https://github.com/intellij-rust/intellij-rust/pull/225/files. It seems to work, so hopefully there is no more outstanding issues here ;) |
Nice! |
☀️ Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64 |
No description provided.