Skip to content

Commit

Permalink
Merge pull request #2614 from ryanrussell/docs-codeblock-colors
Browse files Browse the repository at this point in the history
docs: codeblock labels to `rust,ignore` format
  • Loading branch information
davidhewitt committed Sep 11, 2022
2 parents 8797a6f + 04a7b5f commit 269a671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guide/src/python_from_rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ The example below shows:
imported from `utils/foo.py`

`src/main.rs`:
```ignore
```rust,ignore
use pyo3::prelude::*;
fn main() -> PyResult<()> {
Expand Down Expand Up @@ -311,7 +311,7 @@ from anywhere as long as your `app.py` is in the expected directory (in this exa
that directory is `/usr/share/python_app`).

`src/main.rs`:
```no_run
```rust,no_run
use pyo3::prelude::*;
use pyo3::types::PyList;
use std::fs;
Expand Down

0 comments on commit 269a671

Please sign in to comment.