From d14bfd0c4285a5b99822edf61c75423bef5c9fd9 Mon Sep 17 00:00:00 2001 From: Icxolu <10486322+Icxolu@users.noreply.github.com> Date: Fri, 13 Sep 2024 09:42:21 +0200 Subject: [PATCH] fix beta/nightly ci (#4549) --- src/impl_/pyclass.rs | 3 ++- src/tests/common.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/impl_/pyclass.rs b/src/impl_/pyclass.rs index 44070ec30e4..f116e608d2f 100644 --- a/src/impl_/pyclass.rs +++ b/src/impl_/pyclass.rs @@ -990,8 +990,9 @@ unsafe fn bpo_35810_workaround(py: Python<'_>, ty: *mut ffi::PyTypeObject) { ffi::Py_INCREF(ty as *mut ffi::PyObject); } -/// Implementation detail. Only to be used through our proc macro code. /// Method storage for `#[pyclass]`. +/// +/// Implementation detail. Only to be used through our proc macro code. /// Allows arbitrary `#[pymethod]` blocks to submit their methods, /// which are eventually collected by `#[pyclass]`. #[cfg(feature = "multiple-pymethods")] diff --git a/src/tests/common.rs b/src/tests/common.rs index efe0d4c89f1..4e4d7fe98ee 100644 --- a/src/tests/common.rs +++ b/src/tests/common.rs @@ -3,6 +3,7 @@ /// Common macros and helpers for tests #[allow(dead_code)] // many tests do not use the complete set of functionality offered here +#[allow(missing_docs)] // only used in tests #[macro_use] mod inner {