]> git.lizzy.rs Git - rust.git/commit
IMO better borrow_mut() documentation on RefCell
authorgareins <ozbolt.menegatti@gmail.com>
Sun, 26 Apr 2015 21:16:49 +0000 (23:16 +0200)
committergareins <ozbolt.menegatti@gmail.com>
Sun, 26 Apr 2015 21:16:49 +0000 (23:16 +0200)
commitde35823d49e72b0db8dce1c94edfba77458cda84
treeed8fcfc7ec4adf6e4991eb548d13eb100090195a
parentbba18fec45b0764c1c65b8f0d3ea1fb50ad8a57b
IMO better borrow_mut() documentation on RefCell

Previous borrow() is enough to make borrow_mut() panic, no need to have borrow_mut() twice. [This](http://is.gd/woKKAW)
src/libcore/cell.rs