]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #44536 - Havvy:transmute-docs, r=steveklabnik
authorCorey Farwell <coreyf@rwell.org>
Fri, 15 Sep 2017 02:32:47 +0000 (22:32 -0400)
committerGitHub <noreply@github.com>
Fri, 15 Sep 2017 02:32:47 +0000 (22:32 -0400)
commit3e478fd51226103660867d1bd6c9a78d38c1481b
treea683bf6ac82f30e750662b28a636d511257a491a
parenta48cc80d5711412e1c1aecafebd51f9b485965f1
parent9dd2ee1942b232246bd87805c2be471af9fad20a
Rollup merge of #44536 - Havvy:transmute-docs, r=steveklabnik

Fix example in transmute; add safety requirement to Vec::from_raw_parts

This fixes the second bullet point on #44281 and also removes some incorrect information.
src/liballoc/vec.rs