##// 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.

File last commit:

r7659:25ac72ca default
r43608:b7ab3a0a default
Show More
mercurial.ico
0 lines | 2.2 KiB | image/x-icon | TextLexer
/ contrib / win32 / mercurial.ico
rendered-image