Fix repeated typo "funciton".

This commit is contained in:
Nick Lewycky
2020-06-06 17:22:26 -07:00
parent 1046e62ea3
commit f94696b2ce
5 changed files with 5 additions and 5 deletions

View File

@@ -306,7 +306,7 @@ impl std::fmt::Debug for Function {
}
}
/// This trait is one that all dynamic funcitons must fulfill.
/// This trait is one that all dynamic functions must fulfill.
trait VMDynamicFunction {
fn call(&self, args: &[Val]) -> Result<Vec<Val>, RuntimeError>;
fn function_type(&self) -> &FunctionType;