(f: F)
| 47 | } |
| 48 | |
| 49 | const fn into_func<F: IntoPyNativeFn<Kind>, Kind>(f: F) -> impl PyNativeFn { |
| 50 | move |vm: &VirtualMachine, args| f.call(vm, args) |
| 51 | } |
| 52 | |
| 53 | const fn zst_ref_out_of_thin_air<T: 'static>(x: T) -> &'static T { |
| 54 | // if T is zero-sized, there's no issue forgetting it - even if it does have a Drop impl, it |
no test coverage detected