mirror of
https://github.com/erg-lang/erg.git
synced 2025-07-24 13:34:52 +00:00
chore(els): let FileCache: Send + Sync
This commit is contained in:
parent
591440333a
commit
c84294fc11
15 changed files with 101 additions and 88 deletions
|
@ -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)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue