unsafe fn clear() where Self: MemPool {
        if let Some(journal) = Journal::<Self>::current(false) {
            *journal.1 -= 1;

            if *journal.1 == -1 {
                log!(Self, White, "CLEAR", "JRNL: {:?}", journal.0);

                as_mut(journal.0).clear(
                    #[cfg(feature = "check_double_free")]
                    &mut *Self::dealloc_history()
                );
            }
        }
    }
/// Clears the logs
///
/// If the transaction is nested, it postpones the clear to the top most
/// transaction.
///
/// # Safety
///
/// This function is for internal use and should not be called elsewhere.
///
Clears the logs
If the transaction is nested, it postpones the clear to the top most
transaction.
Clears the logs If the transaction is nested it postpones the clear to the top most transaction .
unsafe fn clear() where Self: MemPool {
        if let Some(journal) = Journal::<Self>::current(false) {
            *journal.1 -= 1;
            if *journal.1 == -1 {
                log!(Self, White, "CLEAR", "JRNL: {:?}", journal.0);
                as_mut(journal.0).clear(
                    #[cfg(feature = "check_double_free")]
                    &mut *Self::dealloc_history()
                );
            }
        }
    }
unsafe fn clear ( ) where Self : MemPool { if let Some ( journal ) = Journal :: < Self > :: current ( false ) { * journal . 1 -= 1 ; if * journal . 1 == - 1 { log ! ( Self White " " " " journal 0 ) ; as_mut ( journal . 0 ) . clear ( # [ cfg ( feature " " ) ] & mut * Self :: dealloc_history ( ) ) ; } } }
Clears the logs
If the transaction is nested, it postpones the clear to the top most
transaction.
Clears the logs If the transaction is nested it postpones the clear to the top most transaction .
safety
This function is for internal use and should not be called elsewhere.
This function is for internal use and should not be called elsewhere .