New syntax for package definition.

This commit is contained in:
Stephen Chung
2022-02-10 12:33:48 +08:00
parent 1c89c6be4f
commit d1a97be9e3
18 changed files with 60 additions and 22 deletions

View File

@@ -8,7 +8,7 @@ use super::string_basic::{print_with_func, FUNC_TO_STRING};
def_package! {
/// Package of additional string utilities over [`BasicStringPackage`][super::BasicStringPackage]
crate::MoreStringPackage => |lib| {
pub MoreStringPackage(lib) {
lib.standard = true;
combine_with_exported_module!(lib, "string", string_functions);