Mercurial > hg-stable
diff rust/hg-cpython/src/lib.rs @ 44280:f015d679f08c
rust-cpython: inline PySharedState::leak_immutable() and PyLeaked::new()
For the same reason as the previous patch. The unsafe stuff can be better
documented if these functions are inlined.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 19 Oct 2019 16:48:34 +0900 |
parents | 3bd77c64bc74 |
children | d4f19eb471ca |