chore: use ArcArray instead of Vec

This commit is contained in:
Shunsuke Shibayama 2024-03-31 17:18:27 +09:00
parent 4ac6276ba9
commit 41bf14629b
4 changed files with 23 additions and 16 deletions

View file

@ -57,7 +57,7 @@ impl _Compiler {
#[new]
fn new(deps: Vec<Package>) -> Self {
let cfg = ErgConfig {
packages: deps,
packages: erg_common::ArcArray::from(deps),
..ErgConfig::default()
};
Self {