##// END OF EJS Templates
rust-cpython: leverage RefCell::borrow() to guarantee there's no mutable ref...
rust-cpython: leverage RefCell::borrow() to guarantee there's no mutable ref Since the underlying value can't be mutably borrowed by PyLeaked, we don't have to manage yet another mutably-borrowed state. We can just rely on the RefCell implementation. Maybe we can add try_leak_immutable(), but this patch doesn't in order to keep the patch series not too long.
Yuya Nishihara -
r43608:b7ab3a0a default
Show More
Name Size Modified Last Commit Author
/ rust / hg-core / src / dirstate
dirs_multiset.rs Loading ...
dirstate_map.rs Loading ...
parsers.rs Loading ...
status.rs Loading ...