summaryrefslogtreecommitdiff
path: root/src/library/utility
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/utility')
-rw-r--r--src/library/utility/math.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/utility/math.rs b/src/library/utility/math.rs
index 9389b4b9..e48af426 100644
--- a/src/library/utility/math.rs
+++ b/src/library/utility/math.rs
@@ -59,7 +59,7 @@ pub fn odd(_: &mut Context, args: &mut Args) -> TypResult<Value> {
}
/// The modulo of two numbers.
-pub fn modulo(_: &mut Context, args: &mut Args) -> TypResult<Value> {
+pub fn mod_(_: &mut Context, args: &mut Args) -> TypResult<Value> {
let Spanned { v: v1, span: span1 } = args.expect("integer or float")?;
let Spanned { v: v2, span: span2 } = args.expect("integer or float")?;