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
Fix size_of_val and support min_align_of_val #15222
Conversation
@bors r+ |
Fix size_of_val and support min_align_of_val
💔 Test failed - checks-actions |
@bors r+ |
@bors r- |
@bors r+ |
message += &std::string::String::from_utf8_lossy(piece_data); | ||
} | ||
Some(message) | ||
let x = self.db.crate_def_map(self.crate_id).crate_root(); |
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.
x
isn't really a great variable name, especially in this case here. You tend to do that a lot which is why I'm raising that here. (and in cases where we need a quick non describing name like in mapping closures etc we tend to use it
, https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/style.md#variable-naming)
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.
I will make a de-x-ify follow up PR to remove all xs everywhere.
☀️ Test successful - checks-actions |
No description provided.