From 75d06d07a49d742060192f5b2f6e46cab93c2bef Mon Sep 17 00:00:00 2001 From: Adam Reichold Date: Thu, 13 Oct 2022 07:09:39 +0200 Subject: [PATCH 1/2] Unpin itertools after it was published without a spurious resolver specification. --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29c93a3f..f2d969f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -191,7 +191,6 @@ jobs: cargo update -p plotters-svg --precise 0.3.1 cargo update -p plotters-backend --precise 0.3.2 cargo update -p bumpalo --precise 3.10.0 - cargo update -p itertools --precise 0.10.3 cargo update -p once_cell --precise 1.14.0 - name: Build docs From 9847530cc85dde42bbd351293290e5a57d0e8f41 Mon Sep 17 00:00:00 2001 From: Adam Reichold Date: Thu, 13 Oct 2022 07:33:11 +0200 Subject: [PATCH 2/2] Fix code blocks containing HTML-related characters missing backticks. --- src/conversions/chrono.rs | 2 +- src/instance.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conversions/chrono.rs b/src/conversions/chrono.rs index e5a4e5ab..3bbc8445 100644 --- a/src/conversions/chrono.rs +++ b/src/conversions/chrono.rs @@ -25,7 +25,7 @@ //! Note that you must use compatible versions of chrono and PyO3. //! The required chrono version may vary based on the version of PyO3. //! -//! # Example: Convert a PyDateTime to chrono's DateTime +//! # Example: Convert a `PyDateTime` to chrono's `DateTime` //! //! ```rust //! use chrono::{Utc, DateTime}; diff --git a/src/instance.rs b/src/instance.rs index 9abc9383..f7c2dc54 100644 --- a/src/instance.rs +++ b/src/instance.rs @@ -955,9 +955,9 @@ where } } -/// Py can be used as an error when T is an Error. +/// `Py` can be used as an error when T is an Error. /// -/// However for GIL lifetime reasons, cause() cannot be implemented for Py. +/// However for GIL lifetime reasons, cause() cannot be implemented for `Py`. /// Use .as_ref() to get the GIL-scoped error if you need to inspect the cause. impl std::error::Error for Py where