From 23d9d259a7073915eb1d69f8659bd08c96056a00 Mon Sep 17 00:00:00 2001 From: David Hewitt <1939362+davidhewitt@users.noreply.github.com> Date: Sat, 10 Oct 2020 06:16:56 +0100 Subject: [PATCH] migration guide: tiny typo fix --- guide/src/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/src/migration.md b/guide/src/migration.md index 535bc97a..c1eb7a7b 100644 --- a/guide/src/migration.md +++ b/guide/src/migration.md @@ -64,7 +64,7 @@ let err: PyErr = TypeError::py_err("error message"); After: -``` +```rust # use pyo3::{PyErr, PyResult, Python, type_object::PyTypeObject}; # use pyo3::exceptions::{PyBaseException, PyTypeError}; # Python::with_gil(|py| -> PyResult<()> {