auto merge of #8686 : kmcallister/rust/doc, r=catamorphism

This commit is contained in:
bors 2013-08-23 04:01:21 -07:00
commit f5018c5a4c

View File

@ -66,7 +66,10 @@ pub unsafe fn bump_box_refcount<T>(t: @T) { forget(t); }
*
* # Example
*
* assert!(transmute("L") == ~[76u8, 0u8]);
* ~~~ {.rust}
* let v: &[u8] = transmute("L");
* assert!(v == [76u8]);
* ~~~
*/
#[inline]
pub unsafe fn transmute<L, G>(thing: L) -> G {