From f5d0e9c16900ee863b0b6528b8df40dc7113b1c9 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 23 Jan 2024 14:05:22 +0100 Subject: [PATCH 2/3] Skip a doctest that does not compile with Rust 1.74+ --- src/exceptions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exceptions.rs b/src/exceptions.rs index 48a0986..48ad973 100644 --- a/src/exceptions.rs +++ b/src/exceptions.rs @@ -637,7 +637,7 @@ impl PyUnicodeDecodeError { /// /// # Examples /// - /// ``` + /// ```rust, ignore /// use pyo3::prelude::*; /// use pyo3::exceptions::PyUnicodeDecodeError; /// -- 2.44.0