Skip to content

Commit 6c54632

Browse files
Icxoludavidhewitt
authored andcommitted
fix beta/nightly ci (#4549)
1 parent 560790b commit 6c54632

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
@@ -992,8 +992,9 @@ unsafe fn bpo_35810_workaround(py: Python<'_>, ty: *mut ffi::PyTypeObject) {
992992
ffi::Py_INCREF(ty as *mut ffi::PyObject);
993993
}
994994

995-
/// Implementation detail. Only to be used through our proc macro code.
996995
/// Method storage for `#[pyclass]`.
996+
///
997+
/// Implementation detail. Only to be used through our proc macro code.
997998
/// Allows arbitrary `#[pymethod]` blocks to submit their methods,
998999
/// which are eventually collected by `#[pyclass]`.
9991000
#[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)