Mercurial > public > mercurial-scm > hg
comparison rust/hg-cpython/src/filepatterns.rs @ 43428:6c0e47874217
rust-cpython: drop manual management of mutably_borrowed
RefCell::borrow() should guarantee there's no mutable borrow.
As a follow up, maybe PySharedState can be a pure data structure + function.
Most ref-sharing business has already been moved to PySharedRef* and PyLeaked*.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 05 Oct 2019 08:59:09 -0400 |
parents | 7a01778bc7b7 |
children | dc4e74d0ef96 |
comparison
equal
deleted
inserted
replaced
43427:b7ab3a0a9e57 | 43428:6c0e47874217 |
---|