]> git.lizzy.rs Git - rust.git/commit
Add a `get_mut` method for TLS
authorAlex Crichton <alex@alexcrichton.com>
Wed, 17 Jul 2013 00:20:43 +0000 (17:20 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 17 Jul 2013 03:33:04 +0000 (20:33 -0700)
commit948a62401ef717eb484c2215713291749f0f35ed
treeb0d41c9f8fade92bcf1582f3c66111a9e0288573
parent9db190305f7562f15b5282fed508aef81cfc9689
Add a `get_mut` method for TLS

Simulates borrow checks for '@mut' boxes, or at least it's the same idea.
src/libstd/local_data.rs
src/libstd/task/local_data_priv.rs