From 0831d960bf6eef9ec96d37529d555c0f43f21d0d Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Sat, 6 Jan 2024 09:34:54 -0500 Subject: [PATCH] [DOC] Fix typo in call-seq for Float#round --- numeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numeric.c b/numeric.c index 53a4450d70..42355d7760 100644 --- a/numeric.c +++ b/numeric.c @@ -2449,7 +2449,7 @@ rb_int_truncate(VALUE num, int ndigits) /* * call-seq: - * round(ndigits = 0, half: :up]) -> integer or float + * round(ndigits = 0, half: :up) -> integer or float * * Returns +self+ rounded to the nearest value with * a precision of +ndigits+ decimal digits.