From 04a7b5f14dd97a27b71ffd414aa0eebefda99c9d Mon Sep 17 00:00:00 2001 From: Ryan Russell Date: Sat, 10 Sep 2022 11:21:04 -0500 Subject: [PATCH] docs: codeblock labels to `rust,ignore` format Signed-off-by: Ryan Russell --- guide/src/python_from_rust.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/src/python_from_rust.md b/guide/src/python_from_rust.md index f9319e28..7b56d626 100644 --- a/guide/src/python_from_rust.md +++ b/guide/src/python_from_rust.md @@ -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<()> { @@ -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;