]> git.lizzy.rs Git - rust.git/commitdiff
std: Change names of transmute's type parameters
authorBrian Anderson <banderson@mozilla.com>
Wed, 7 May 2014 06:33:41 +0000 (23:33 -0700)
committerBrian Anderson <banderson@mozilla.com>
Wed, 7 May 2014 21:12:43 +0000 (14:12 -0700)
from L, G to T, U. I don't know what L and G mean.
T, U easier to understand.

src/libcore/cast.rs

index e0edeb53c6ebc797613ac1a724e2cda919df7b1d..cf99fdbd5d4c229739d746f424e4e9bb51fbcef6 100644 (file)
@@ -28,7 +28,7 @@
  * ```
  */
 #[inline]
-pub unsafe fn transmute<L, G>(thing: L) -> G {
+pub unsafe fn transmute<T, U>(thing: T) -> U {
     intrinsics::transmute(thing)
 }