pref: remove Rc/Arc::from_box

This commit is contained in:
quake
2022-09-06 14:51:32 +09:00
parent 563f18a04b
commit 8ee501e4d9
5 changed files with 22 additions and 33 deletions

View File

@@ -1263,7 +1263,7 @@ impl Module {
access,
None,
arg_types,
CallableFunction::from_method(Box::new(f)),
CallableFunction::Method(Shared::new(f)),
)
}