]> git.lizzy.rs Git - rust.git/commit
Make the lifetime anchor immutable on std::mem::copy_mut_lifetime
authorMikhail Zabaluev <mikhail.zabaluev@gmail.com>
Thu, 5 Feb 2015 20:19:11 +0000 (22:19 +0200)
committerMikhail Zabaluev <mikhail.zabaluev@gmail.com>
Thu, 5 Feb 2015 20:19:11 +0000 (22:19 +0200)
commit023a931309c17dab1b9d2332369626a26a5227cc
tree53a3a3fc82d9ef330fedadd22ebeb96964d591c2
parent2c05354211b04a52cc66a0b8ad8b2225eaf9e972
Make the lifetime anchor immutable on std::mem::copy_mut_lifetime

Only the second reference's mutability is relevant to the mutability
of the returned reference.
src/libcore/mem.rs