-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Format doc comments #102285
Format doc comments #102285
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -501,7 +501,7 @@ fn codegen_stmt<'tcx>( | |
|
||
#[cfg(any())] // This is never true | ||
match &stmt.kind { | ||
StatementKind::StorageLive(..) | StatementKind::StorageDead(..) => {} // Those are not very useful | ||
StatementKind::StorageLive(..) | StatementKind::StorageDead(..) => {} /* Those are not very useful */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert this change. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't understand why rust-fmt made that change. I'll go through each change manually and remove changes like this, and just remove all changes to compiler/ anyway. |
||
_ => { | ||
if fx.clif_comments.enabled() { | ||
let inst = fx.bcx.func.layout.last_inst(cur_block).unwrap(); | ||
|
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.
Dismissing my ping on the basis of these being trivial comment-only changes (tho I wish we could've just frozen this directory sigh).
Consider this comment a (tiny) vote for having a PR just for
library/
, the compiler itself in general is more likely to be chaotic, and even have weird snippets in comments etc.But if people are willing to review the PR as-is, I have nothing against that, to be clear.