Skip to content

Commit

Permalink
Add missing pub classifier
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Alphare authored Jan 29, 2020
1 parent 2b704d7 commit 2ad4d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sharedref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ use crate::python::{PyClone, Python};
/// }
/// });
///
/// py_class!(class ListIterator |py| {
/// py_class!(pub class ListIterator |py| {
/// data rust_iter: RefCell<UnsafePyLeaked<Iter<'static, i32>>>;
///
/// def __next__(&self) -> PyResult<Option<PyInt>> {
Expand Down

0 comments on commit 2ad4d86

Please sign in to comment.