diff rust/hg-cpython/src/dirstate/copymap.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 7a01778bc7b7
line wrap: on
line diff
--- a/rust/hg-cpython/src/dirstate/copymap.rs	Sun Sep 08 12:23:18 2019 +0900
+++ b/rust/hg-cpython/src/dirstate/copymap.rs	Sun Sep 08 12:26:12 2019 +0900
@@ -98,7 +98,7 @@
     }
 }
 
-py_shared_iterator_impl!(
+py_shared_iterator!(
     CopyMapKeysIterator,
     DirstateMapLeakedRef,
     CopyMapIter<'static>,
@@ -106,7 +106,7 @@
     Option<PyBytes>
 );
 
-py_shared_iterator_impl!(
+py_shared_iterator!(
     CopyMapItemsIterator,
     DirstateMapLeakedRef,
     CopyMapIter<'static>,