Skip to content

Commit 050ca62

Browse files
Auto-format: cargo fmt --all
1 parent a0692d3 commit 050ca62

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

crates/vm/src/class.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,7 @@ pub trait PyClassImpl: PyClassDef {
192192
// and stored in a static cell, so it lives for 'static.
193193
let wrapper: &'static PyMethodDef =
194194
unsafe { &*core::ptr::addr_of!(ctx.slot_new_wrapper) };
195-
let bound_new = wrapper.build_bound_method(
196-
ctx,
197-
class.to_owned().into(),
198-
class,
199-
);
195+
let bound_new = wrapper.build_bound_method(ctx, class.to_owned().into(), class);
200196
class.set_attr(identifier!(ctx, __new__), bound_new.into());
201197
}
202198
}

0 commit comments

Comments
 (0)