docs: codeblock labels to `rust,ignore` format

Signed-off-by: Ryan Russell <git@ryanrussell.org>
This commit is contained in:
Ryan Russell 2022-09-10 11:21:04 -05:00
parent 8797a6f799
commit 04a7b5f14d
1 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ The example below shows:
imported from `utils/foo.py` imported from `utils/foo.py`
`src/main.rs`: `src/main.rs`:
```ignore ```rust,ignore
use pyo3::prelude::*; use pyo3::prelude::*;
fn main() -> PyResult<()> { fn main() -> PyResult<()> {
@ -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`). that directory is `/usr/share/python_app`).
`src/main.rs`: `src/main.rs`:
```no_run ```rust,no_run
use pyo3::prelude::*; use pyo3::prelude::*;
use pyo3::types::PyList; use pyo3::types::PyList;
use std::fs; use std::fs;