Skip to content
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

Merged
merged 1 commit into from Jul 6, 2023
Merged

Conversation

HKalbasi
Copy link
Member

@HKalbasi HKalbasi commented Jul 6, 2023

No description provided.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 6, 2023
@HKalbasi
Copy link
Member Author

HKalbasi commented Jul 6, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

📌 Commit 5e06445 has been approved by HKalbasi

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

⌛ Testing commit 5e06445 with merge 0383fdb...

bors added a commit that referenced this pull request Jul 6, 2023
Fix size_of_val and support min_align_of_val
@bors
Copy link
Collaborator

bors commented Jul 6, 2023

💔 Test failed - checks-actions

@HKalbasi
Copy link
Member Author

HKalbasi commented Jul 6, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

📌 Commit c70faa5 has been approved by HKalbasi

It is now in the queue for this repository.

@HKalbasi
Copy link
Member Author

HKalbasi commented Jul 6, 2023

@bors r-

@HKalbasi
Copy link
Member Author

HKalbasi commented Jul 6, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

📌 Commit 171ae2e has been approved by HKalbasi

It is now in the queue for this repository.

message += &std::string::String::from_utf8_lossy(piece_data);
}
Some(message)
let x = self.db.crate_def_map(self.crate_id).crate_root();
Copy link
Member

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)

Copy link
Member Author

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.

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

⌛ Testing commit 171ae2e with merge 4125fea...

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

☀️ Test successful - checks-actions
Approved by: HKalbasi
Pushing 4125fea to master...

@bors bors merged commit 4125fea into rust-lang:master Jul 6, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants