changeset 43179 | 7d6758f2d50c |
parent 43178 | 1b2200bd06b6 |
child 43180 | b3dda04e851b |
--- a/rust/hg-cpython/src/dirstate/dirs_multiset.rs Sun Sep 15 16:50:48 2019 +0900 +++ b/rust/hg-cpython/src/dirstate/dirs_multiset.rs Sun Sep 15 16:59:50 2019 +0900 @@ -92,7 +92,8 @@ }) } def __iter__(&self) -> PyResult<DirsMultisetKeysIterator> { - let (leak_handle, leaked_ref) = unsafe { self.leak_immutable(py)? }; + let (leak_handle, leaked_ref) = + unsafe { self.inner_shared(py).leak_immutable()? }; DirsMultisetKeysIterator::from_inner( py, leak_handle,