]> git.lizzy.rs Git - rust.git/commit
Move std::cell::clone_ref to a clone associated function on std::cell::Ref
authorSimon Sapin <simon.sapin@exyr.org>
Thu, 28 May 2015 20:58:04 +0000 (22:58 +0200)
committerSimon Sapin <simon.sapin@exyr.org>
Thu, 28 May 2015 21:01:36 +0000 (23:01 +0200)
commitc516eee503ae643ead9553fed70528230feb2b1f
treec00c3b387b0fe64f1406675a1579e67f8995c28f
parent621a10e7f32d790c39a0b4528369cf7959dd7d34
Move std::cell::clone_ref to a clone associated function on std::cell::Ref

... and generalize the bounds on the value type.
src/libcore/cell.rs
src/libcoretest/cell.rs