refactor: remove unnecessary wrap (#5221)

* chore: remove unnecessary arc

* chore: remove unnecessary box
This commit is contained in:
Weny Xu
2024-12-24 16:43:14 +08:00
committed by GitHub
parent 68dd2916fb
commit de0beabf34
22 changed files with 81 additions and 53 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ pub fn new_table_cache(
) -> TableCache {
let init = init_factory(table_info_cache, table_name_cache);
CacheContainer::new(name, cache, Box::new(invalidator), init, Box::new(filter))
CacheContainer::new(name, cache, Box::new(invalidator), init, filter)
}
fn init_factory(