Uh oh!
There was an error while loading. Please reload this page.
Add more docs for CoerceUnsized and Unsize - #38816
Conversation
strega-nil
left a comment
There was a problem hiding this comment.
Seems good on the technical aspects, otherwise.
There was a problem hiding this comment.
Should be T is Unsize<Trait> when T: Trait, in order to be consistent with the above sentence.
There was a problem hiding this comment.
"For builtin types" sounds unclear; perhaps reword this to say something to the effect of "for builtin pointer types".
There was a problem hiding this comment.
small nit; where U: ?Sized is, afaik, not valid syntax. Another argument for supporting it?
There was a problem hiding this comment.
Yes. The docs also output this form. There is no reason not to support it IMO.
Manishearth
commented
Jan 4, 2017
Updated. |
GuillaumeGomez
commented
Jan 4, 2017
Thanks! @bors: r+ rollup |
bors
commented
Jan 4, 2017
📌 Commit 07e844f has been approved by |
…meGomez Add more docs for CoerceUnsized and Unsize here be dragons r? @ubsan@steveklabnik
…meGomez Add more docs for CoerceUnsized and Unsize here be dragons r? @ubsan@steveklabnik
nrc
commented
Jan 5, 2017
cc @rust-lang/lang to make sure the docs fit our beliefs |
…meGomez Add more docs for CoerceUnsized and Unsize here be dragons r? @ubsan@steveklabnik
here be dragons
r? @ubsan@steveklabnik