Skip to content

Commit 2149dcb

Browse files
fix clippy
1 parent 0bbdd96 commit 2149dcb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/capi/src/pylifecycle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
use crate::get_main_interpreter;
22
use crate::pyerrors::init_exception_statics;
33
use crate::pystate::ensure_thread_has_vm_attached;
4+
use alloc::ffi::CString;
45
use core::ffi::{c_char, c_int, c_ulong};
56
use rustpython_vm::version::{MAJOR, MICRO, MINOR, VERSION_HEX};
67
use rustpython_vm::vm::thread::ThreadedVirtualMachine;
78
use rustpython_vm::{Context, Interpreter};
8-
use std::ffi::CString;
99
use std::sync::{LazyLock, Mutex};
1010

1111
pub(crate) static MAIN_INTERP: Mutex<Option<Interpreter>> = Mutex::new(None);

0 commit comments

Comments
 (0)