about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2014-05-06 23:33:41 -0700
committerBrian Anderson <banderson@mozilla.com>2014-05-07 14:12:43 -0700
commiteb5f9feadbe60efce32275fb1abd0efd11deeba4 (patch)
tree519b06dbce795e95d1e0ac8f6f1367483dd24ef0 /src
parent3a11509e00e5ed27e69522dc456c5b82c29404ef (diff)
downloadrust-eb5f9feadbe60efce32275fb1abd0efd11deeba4.tar.gz
rust-eb5f9feadbe60efce32275fb1abd0efd11deeba4.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/libcore/cast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/cast.rs b/src/libcore/cast.rs
index e0edeb53c6e..cf99fdbd5d4 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<L, G>(thing: L) -> G {
+pub unsafe fn transmute<T, U>(thing: T) -> U {
     intrinsics::transmute(thing)
 }