Skip to content

Commit d14bfd0

Browse files
authored
fix beta/nightly ci (#4549)
1 parent 7d1425a commit d14bfd0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/impl_/pyclass.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,8 +990,9 @@ unsafe fn bpo_35810_workaround(py: Python<'_>, ty: *mut ffi::PyTypeObject) {
990990
ffi::Py_INCREF(ty as *mut ffi::PyObject);
991991
}
992992

993-
/// Implementation detail. Only to be used through our proc macro code.
994993
/// Method storage for `#[pyclass]`.
994+
///
995+
/// Implementation detail. Only to be used through our proc macro code.
995996
/// Allows arbitrary `#[pymethod]` blocks to submit their methods,
996997
/// which are eventually collected by `#[pyclass]`.
997998
#[cfg(feature = "multiple-pymethods")]

src/tests/common.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
/// Common macros and helpers for tests
55
#[allow(dead_code)] // many tests do not use the complete set of functionality offered here
6+
#[allow(missing_docs)] // only used in tests
67
#[macro_use]
78
mod inner {
89

0 commit comments

Comments
 (0)