pyo3/tests/ui/pymodule_missing_docs.rs
Icxolu c8b59d7117
add #[doc(hidden)] to the Rust module created by #[pymodule] (#4067)
* add `#[doc(hidden)]` to the Rust module created by `#[pymodule]`

* add newsfragment
2024-04-12 06:34:08 +00:00

13 lines
201 B
Rust

#![deny(missing_docs)]
//! Some crate docs
use pyo3::prelude::*;
/// Some module documentation
#[pymodule]
pub fn python_module(_m: &Bound<'_, PyModule>) -> PyResult<()> {
Ok(())
}
fn main() {}