Use combine_flatten for plugin modules.

This commit is contained in:
Stephen Chung
2020-08-21 21:48:45 +08:00
parent 40f71320f3
commit 08977e2a62
12 changed files with 64 additions and 19 deletions

View File

@@ -60,9 +60,9 @@ def_package!(crate:MoreStringPackage:"Additional string utilities, including str
reg_functions!(lib += float; f32, f64);
#[cfg(not(feature = "no_index"))]
lib.combine(exported_module!(index_functions));
lib.combine_flatten(exported_module!(index_functions));
lib.combine(exported_module!(string_functions));
lib.combine_flatten(exported_module!(string_functions));
lib.set_raw_fn(
"pad",