Mercurial > hg
comparison .hgsigs @ 43427:b7ab3a0a9e57
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.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 05 Oct 2019 08:56:15 -0400 |
parents | c5dc122fdc2b |
children | dcf396551305 |
comparison
equal
deleted
inserted
replaced
43426:6f9f15a476a4 | 43427:b7ab3a0a9e57 |
---|