Skip to content

Commit

Permalink
fix beta/nightly ci (#4549)
Browse files Browse the repository at this point in the history
  • Loading branch information
Icxolu authored and davidhewitt committed Sep 15, 2024
1 parent 560790b commit 6c54632
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/impl_/pyclass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
1 change: 1 addition & 0 deletions src/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit 6c54632

Please sign in to comment.