Make the compare functions async.

This commit is contained in:
Tom Alexander
2023-10-14 17:48:38 -04:00
parent c20e7b5f2f
commit 123da9cca3
4 changed files with 16 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
use std::fmt::Debug;
use std::path::PathBuf;
pub trait FileAccessInterface: Debug {
pub trait FileAccessInterface: Sync + Debug {
fn read_file(&self, path: &str) -> Result<String, std::io::Error>;
}