rust/hg-cpython/src/ref_sharing.rs
changeset 42889 ea91a126c803
parent 42888 67853749961b
child 42890 74d67c645278
--- a/rust/hg-cpython/src/ref_sharing.rs	Sun Sep 08 12:23:18 2019 +0900
+++ b/rust/hg-cpython/src/ref_sharing.rs	Sun Sep 08 12:26:12 2019 +0900
@@ -193,7 +193,7 @@
 /// that will be shared.
 /// * `$leaked` is the identifier to give to the struct that will manage
 /// references to `$name`, to be used for example in other macros like
-/// `py_shared_iterator_impl`.
+/// `py_shared_iterator`.
 ///
 /// # Example
 ///
@@ -332,7 +332,7 @@
 ///
 /// py_shared_ref!(MyType, MyStruct, inner, MyTypeLeakedRef);
 ///
-/// py_shared_iterator_impl!(
+/// py_shared_iterator!(
 ///     MyTypeItemsIterator,
 ///     MyTypeLeakedRef,
 ///     HashMap<'static, Vec<u8>, Vec<u8>>,
@@ -340,7 +340,7 @@
 ///     Option<(PyBytes, PyBytes)>
 /// );
 /// ```
-macro_rules! py_shared_iterator_impl {
+macro_rules! py_shared_iterator {
     (
         $name: ident,
         $leaked: ident,