Skip to content

Commit

Permalink
Tiny tweak: Use Rust markdown block (#1855)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackKelly authored Nov 15, 2023
1 parent 2aee9e9 commit 95a41ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<()> {
Expand Down

0 comments on commit 95a41ed

Please sign in to comment.