diff rust/hg-cpython/src/ancestors.rs @ 44204:bafdaf4858d8

rust-cpython: inline PySharedState::try_borrow_mut() Since the core borrowing/leaking logic has been moved to PySharedRef* and PyLeaked*, it doesn't make sense that PySharedState had a function named "try_borrow_mut". Let's turn it into a pure data struct.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 19 Oct 2019 16:34:02 +0900
parents f98f0e3ddaa1
children b24721e7c5ee
line wrap: on
line diff