v0.18.21: fix borrow checker, make io public

This commit is contained in:
MattJackson
2026-05-12 09:01:52 -07:00
parent a0b13941fe
commit 4df470e572
2 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ use std::thread::{self, JoinHandle};
use crate::error::Error;
/// Check if verbose debug logging is enabled via FREEMKV_DEBUG env var.
fn debug_enabled() -> bool {
pub fn debug_enabled() -> bool {
std::env::var("FREEMKV_DEBUG")
.ok()
.map(|v| v == "1" || v == "true" || v == "yes")