do not derive Debug for GILGuard
This commit is contained in:
parent
af663e0f80
commit
397f50571b
|
@ -76,7 +76,6 @@ pub fn prepare_freethreaded_python() {
|
|||
/// } // GIL is released when gil_guard is dropped
|
||||
/// ```
|
||||
#[must_use]
|
||||
#[derive(Debug)]
|
||||
pub struct GILGuard {
|
||||
pos: usize,
|
||||
gstate: ffi::PyGILState_STATE,
|
||||
|
|
Loading…
Reference in New Issue