Mercurial > public > mercurial-scm > hg
diff rust/hg-cpython/src/exceptions.rs @ 44205: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 | 9804badd5970 |