diff --git a/README.md b/README.md index 09cbe3ff2..03fae54a8 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ my-project When doing this also be sure to set the module name in your code to match the last part of `module-name` (don't include the package path): -``` +```rust #[pymodule] #[pyo3(name="_lib_name")] fn my_lib_name(_py: Python<'_>, m: &PyModule) -> PyResult<()> {