Skip to content

Commit eb5f9fe

Browse files
committed
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.
1 parent 3a11509 commit eb5f9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/cast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use ptr::copy_nonoverlapping_memory;
2828
* ```
2929
*/
3030
#[inline]
31-
pub unsafe fn transmute<L, G>(thing: L) -> G {
31+
pub unsafe fn transmute<T, U>(thing: T) -> U {
3232
intrinsics::transmute(thing)
3333
}
3434

0 commit comments

Comments
 (0)