Mercurial > public > mercurial-scm > hg
diff rust/hg-cpython/src/dirstate/dirstate_map.rs @ 42889:ea91a126c803
rust-cpython: rename py_shared_iterator_impl to py_shared_iterator
It's a public interface now.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 08 Sep 2019 12:26:12 +0900 |
parents | 67853749961b |
children | 74d67c645278 |
line wrap: on
line diff
--- a/rust/hg-cpython/src/dirstate/dirstate_map.rs Sun Sep 08 12:23:18 2019 +0900 +++ b/rust/hg-cpython/src/dirstate/dirstate_map.rs Sun Sep 08 12:26:12 2019 +0900 @@ -484,7 +484,7 @@ py_shared_ref!(DirstateMap, RustDirstateMap, inner, DirstateMapLeakedRef,); -py_shared_iterator_impl!( +py_shared_iterator!( DirstateMapKeysIterator, DirstateMapLeakedRef, StateMapIter<'static>, @@ -492,7 +492,7 @@ Option<PyBytes> ); -py_shared_iterator_impl!( +py_shared_iterator!( DirstateMapItemsIterator, DirstateMapLeakedRef, StateMapIter<'static>,