reference icon indicating copy to clipboard operation
reference copied to clipboard

Specify what happens when casting fat pointers more specifically

Open CAD97 opened this issue 3 years ago • 8 comments

[zulip discussion]

CAD97 avatar May 05 '22 22:05 CAD97

@CAD97 Do you perhaps have a topic link for the discussion? The link seems to just be to the UCG stream in general.

scottmcm avatar Jun 21 '22 17:06 scottmcm

r=me with an example added.

joshtriplett avatar Jun 21 '22 17:06 joshtriplett

...oops, will grab when I find it again :)

CAD97 avatar Jun 21 '22 17:06 CAD97

https://rust-lang.zulipchat.com/#narrow/stream/136281-t-lang.2Fwg-unsafe-code-guidelines/topic/Casting.20unsized.20to.20sized.20pointer

CAD97 avatar Jun 21 '22 17:06 CAD97

@joshtriplett I finally got around to adding that example 🙃 Is this still good to r+? (Well, after I add the proper uses.)

CAD97 avatar Aug 01 '22 21:08 CAD97

That mess of commits shall be a lesson not to try to fix things through GitHub's app; rebased to fix that

CAD97 avatar Aug 02 '22 01:08 CAD97

error in ../src/expressions/operator-expr.md: #![feature] attributes are not allowed

Well never mind then

CAD97 avatar Aug 02 '22 01:08 CAD97

This is just not my day for writing coherent code is it. The example should finally be accurate now...

CAD97 avatar Aug 02 '22 02:08 CAD97