Merge branch 'master' into plugins

This commit is contained in:
Stephen Chung
2020-06-11 22:45:20 +08:00
14 changed files with 467 additions and 492 deletions

View File

@@ -89,9 +89,9 @@ impl fmt::Debug for CallableFunction {
match self {
Self::Pure(_) => write!(f, "NativePureFunction"),
Self::Method(_) => write!(f, "NativeMethod"),
Self::Iterator(_) => write!(f, "IteratorFunction"),
Self::Iterator(_) => write!(f, "NativeIterator"),
Self::Plugin(_) => write!(f, "PluginFunction"),
Self::Script(fn_def) => write!(f, "{:?}", fn_def),
Self::Script(fn_def) => fmt::Debug::fmt(fn_def, f),
}
}
}