rename call_with_module_name to call_module

This commit is contained in:
vms 2021-03-29 13:31:05 +03:00
parent 0d1e3c7848
commit 2ee3520e67
2 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ impl AppService {
})
}
pub fn call_with_module_name<MN: AsRef<str>, FN: AsRef<str>>(
pub fn call_module<MN: AsRef<str>, FN: AsRef<str>>(
&mut self,
module_name: MN,
func_name: FN,

View File

@ -145,7 +145,7 @@ impl REPL {
let start = Instant::now();
// TODO: add support of call parameters
let result = match self.app_service.call_with_module_name(
let result = match self.app_service.call_module(
module_name,
func_name,
module_arg,