-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Run rustfmt on libarena. #28990
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
Run rustfmt on libarena. #28990
Conversation
r? @nrc |
(rust_highfive has picked a reviewer for you, use r? to override) |
@@ -297,7 +290,8 @@ impl<'longer_than_self> Arena<'longer_than_self> { | |||
|
|||
unsafe { | |||
let buf = head.as_ptr(); | |||
(buf.offset(tydesc_start as isize), buf.offset(start as isize)) |
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.
This is strange, it looks like it fits in 100 columns.
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.
There's a heuristic where we cut off into vertical formatting before we hit the absolute limit. We probably shouldn't do it for tuples though (only for function calls).
@bors: r+ rollup Thanks for the PR! |
📌 Commit 21bb0dc has been approved by |
No description provided.