Skip to content

Commit

Permalink
fix typo in docs for pymodule macro
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoldbaum committed Sep 11, 2024
1 parent 672efdc commit d370a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The `#[pymodule]` procedural macro takes care of exporting the initialization fu
module to Python.

The module's name defaults to the name of the Rust function. You can override the module name by
using `#[pyo3(name = "custom_name")]`:
using `#[pymodule(name = "custom_name")]`:

```rust
use pyo3::prelude::*;
Expand Down

0 comments on commit d370a17

Please sign in to comment.