-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add Sized trait display when implemented on type #78181
Conversation
126945d
to
2f8ab71
Compare
Oops, looks like triagebot got confused. @GuillaumeGomez I think you need to put r? @ollie27 |
ping |
This comment has been minimized.
This comment has been minimized.
2f8ab71
to
3975705
Compare
ab48efc
to
56a60ea
Compare
Ok, seems to be ready! |
This comment has been minimized.
This comment has been minimized.
triage: merge conflict @rustbot label: -S-waiting-on-review +S-waiting-on-author |
It's still waiting for a review. @rustbot label: -S-waiting-on-author +S-waiting-on-review |
56a60ea
to
877f197
Compare
It now only displays in case the |
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.
Note this will have major conflicts with #82020, so you may want to wait to work on it more until that's merged.
This comment has been minimized.
This comment has been minimized.
4abb66d
to
fbc8c70
Compare
Updated! |
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 looks good :) r=me with nit fixed, it took me a second to understand the code the first time.
fbc8c70
to
5fd3b9a
Compare
5fd3b9a
to
46f24c9
Compare
Oh sorry, I tried to make the parameter name as explicit as possible but I realize that some comments would have make it much better. I added another one in addition to the one you suggested. :) |
@bors: r=jyn514 |
📌 Commit 46f24c9 has been approved by |
Add Sized trait display when implemented on type Fixes rust-lang#24183. I'm not too happy about the hack I had to add in here, however, it seems like the `Sized` trait is **very** special. cc `@jyn514` r? `@ollie27`
☀️ Test successful - checks-actions |
A job failed! Check out the build log: (web) (plain) Click to see the possible cause of the failure (guessed by this bot)
|
Fixes #24183.
I'm not too happy about the hack I had to add in here, however, it seems like the
Sized
trait is very special.cc @jyn514
r? @ollie27