We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 234d5fe commit c5f8841Copy full SHA for c5f8841
vm/src/object/payload.rs
@@ -18,7 +18,9 @@ impl<T> PyThreadingConstraint for T {}
18
#[cfg(feature = "gc_bacon")]
19
use crate::object::MaybeTrace;
20
21
-pub trait PyPayload: std::fmt::Debug + PyThreadingConstraint + Sized + MaybeTrace + 'static {
+pub trait PyPayload:
22
+ std::fmt::Debug + PyThreadingConstraint + Sized + MaybeTrace + 'static
23
+{
24
fn class(ctx: &Context) -> &'static Py<PyType>;
25
26
#[inline]
0 commit comments