bors eae2652710 auto merge of #13301 : erickt/rust/remove-refcell-get, r=huonw
`RefCell::get` can be a bit surprising, because it actually clones the wrapped value. This removes `RefCell::get` and replaces all the users with `RefCell::borrow()` when it can, and `RefCell::borrow().clone()` when it can't. It removes `RefCell::set` for consistency. This closes #13182.

It also fixes an infinite loop in a test when debugging is on.
2014-04-04 08:41:50 -07:00
..
2014-04-02 15:56:31 -07:00
2014-04-02 15:56:31 -07:00
2014-04-02 15:56:31 -07:00
2014-04-03 20:28:59 -07:00
2014-03-31 15:17:12 -07:00
2014-03-31 15:17:12 -07:00
2014-03-31 15:17:12 -07:00
2014-04-03 20:28:59 -07:00
2014-03-28 10:34:02 +01:00
2014-03-31 15:17:12 -07:00
2014-03-31 15:17:12 -07:00
2014-03-31 15:17:12 -07:00
2014-04-02 15:56:31 -07:00
2014-04-02 15:56:31 -07:00
2014-03-31 15:17:12 -07:00
2014-03-31 15:17:12 -07:00
2014-04-03 13:42:32 -07:00