cargo doc --open of pyo3 #4354
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
What result are you expecting to get here? The functions you've defined are Python functions, so it seems correct to me that they don't have Rust API documentation. |
Beta Was this translation helpful? Give feedback.
-
In 0.22 you also don't get the PyInit entry anymore. However, when setting the functions as So, I don't see a problem here. |
Beta Was this translation helpful? Give feedback.
-
I mistakenly thought it will generate rust API documentation. Could I see the comments in the Python function/module ? |
Beta Was this translation helpful? Give feedback.
You're not mistaken in that, but the functions need to be
pub
for that.