modify d.ts, modify function name
This commit is contained in:
1 parent
657d47722f
commit
f090f0acc0
2 files changed
+5
-2
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
register_module!(example, init);
|
||||
|
||||
fn init(module: &mut Module) -> Result<()> {
|
||||
module.create_named_method("diff", diff_char)?;
|
||||
module.create_named_method("diffChars", diff_char)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user