Removee debug_msgs
feature.
This commit is contained in:
14
src/api.rs
14
src/api.rs
@@ -29,20 +29,6 @@ impl<'e> Engine<'e> {
|
||||
args: Option<Vec<TypeId>>,
|
||||
f: Box<FnAny>,
|
||||
) {
|
||||
debug_println!(
|
||||
"Register function: {} with {}",
|
||||
fn_name,
|
||||
if let Some(a) = &args {
|
||||
format!(
|
||||
"{} parameter{}",
|
||||
a.len(),
|
||||
if a.len() > 1 { "s" } else { "" }
|
||||
)
|
||||
} else {
|
||||
"no parameter".to_string()
|
||||
}
|
||||
);
|
||||
|
||||
let spec = FnSpec {
|
||||
name: fn_name.to_string().into(),
|
||||
args,
|
||||
|
Reference in New Issue
Block a user