chore(els): let FileCache: Send + Sync

This commit is contained in:
Shunsuke Shibayama 2023-05-01 23:24:47 +09:00
parent 591440333a
commit c84294fc11
15 changed files with 101 additions and 88 deletions

View file

@ -39,7 +39,7 @@ use crate::set::Set;
pub use crate::str::Str;
pub use crate::triple::Triple;
pub type RcArray<T> = std::rc::Rc<[T]>;
pub type ArcArray<T> = std::sync::Arc<[T]>;
pub fn open_read(filename: &str) -> std::io::Result<String> {
let f = std::fs::File::open(filename)?;