From a8e9c73affcfb6d9199853a8e16260a510bc4163 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 a1a55a36f56..8e978aff8fb 100644 --- a/src/impl_/pyclass.rs +++ b/src/impl_/pyclass.rs @@ -992,8 +992,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 e1f2e7dfc28..f9cdd8df2cf 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 {