New syntax for package definition.
This commit is contained in:
@@ -299,7 +299,7 @@ macro_rules! reg_range {
|
||||
|
||||
def_package! {
|
||||
/// Package of basic range iterators
|
||||
crate::BasicIteratorPackage => |lib| {
|
||||
pub BasicIteratorPackage(lib) {
|
||||
lib.standard = true;
|
||||
|
||||
reg_range!(lib | "range" => INT);
|
||||
|
Reference in New Issue
Block a user