]> git.lizzy.rs Git - rust.git/blobdiff - src/common.rs
Sync from rust 539402cb0b0f1639a4be14e40eaf8db61a62ae41
[rust.git] / src / common.rs
index 60839227274ad70ea96f1eda8729ed7d22c39d99..dfb61dcea8a629cdc6a7101865445d990dfb9fac 100644 (file)
@@ -357,7 +357,7 @@ fn target_spec(&self) -> &Target {
 }
 
 impl<'tcx, M: Module> FunctionCx<'_, 'tcx, M> {
-    pub(crate) fn monomorphize<T>(&self, value: &T) -> T
+    pub(crate) fn monomorphize<T>(&self, value: T) -> T
     where
         T: TypeFoldable<'tcx> + Copy,
     {