Skip to content

Commit 809b0d0

Browse files
committed
capi: import type_name from core, not std
Assisted-by: Grok:4.6
1 parent f64db5b commit 809b0d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/capi/src/util.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use crate::PyObject;
2+
use core::any::type_name;
23
use core::convert::Infallible;
34
use core::ffi::{CStr, c_char, c_double, c_int, c_long, c_ulong, c_void};
45
use core::ptr::NonNull;
56
use rustpython_vm::{Py, PyObjectRef, PyPayload, PyRef, PyResult, VirtualMachine};
6-
use std::any::type_name;
77

88
pub(crate) trait FfiResult<Output = Self> {
99
const ERR_VALUE: Output;

0 commit comments

Comments
 (0)