Skip to content

Commit 34458f9

Browse files
committed
Add missing pub classifier
Anyone copy-pasting the code and trying to use the new `@shared` interface for the first time will get an error about leaking a private type.
1 parent 2b704d7 commit 34458f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sharedref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ use crate::python::{PyClone, Python};
5454
/// }
5555
/// });
5656
///
57-
/// py_class!(class ListIterator |py| {
57+
/// py_class!(pub class ListIterator |py| {
5858
/// data rust_iter: RefCell<UnsafePyLeaked<Iter<'static, i32>>>;
5959
///
6060
/// def __next__(&self) -> PyResult<Option<PyInt>> {

0 commit comments

Comments
 (0)