about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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)
 }