From eb5f9feadbe60efce32275fb1abd0efd11deeba4 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 6 May 2014 23:33:41 -0700 Subject: [PATCH] std: Change names of transmute's type parameters from L, G to T, U. I don't know what L and G mean. T, U easier to understand. --- src/libcore/cast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/cast.rs b/src/libcore/cast.rs index e0edeb53c6eb..cf99fdbd5d4c 100644 --- a/src/libcore/cast.rs +++ b/src/libcore/cast.rs @@ -28,7 +28,7 @@ use ptr::copy_nonoverlapping_memory; * ``` */ #[inline] -pub unsafe fn transmute(thing: L) -> G { +pub unsafe fn transmute(thing: T) -> U { intrinsics::transmute(thing) }