fix compile errors

This commit is contained in:
Brandon Thomas committed 2023-03-11 21:57:13 -05:00
1 parent 91e83c8b90
commit 23b0dafd6b
2 files changed
+1 -4

No files matched your search

@@ -1,10 +1,7 @@
use anyhow::bail;
use crate::anyhow_result::AnyhowResult;
use log::info;
use log::warn;
use std::fs;
use std::path::Path;
use std::path::PathBuf;
pub fn safe_delete_temp_file<P: AsRef<Path>>(file_path: P) {
// NB: We should be using a tempdir, but to make absolutely certain we don't overflow the disk...
@@ -1,6 +1,6 @@
use anyhow::anyhow;
use crate::anyhow_result::AnyhowResult;
use std::sync::{Arc, RwLock, PoisonError, RwLockWriteGuard};
use std::sync::{Arc, RwLock};
use std::time::{Instant, Duration};
/// Sometimes I need to kill a thread from somewhere else. This is a mechanism