From 671cfc20000db024f2aeaf602b1a77895c819abc Mon Sep 17 00:00:00 2001 From: HoNooD Date: Sat, 18 Mar 2023 01:04:28 +0800 Subject: [PATCH] [ruby/bigdecimal] fix: typo in document comments of `f_BigDecimal` function https://github.com/ruby/bigdecimal/commit/13abe1fd78 --- ext/bigdecimal/bigdecimal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 07fc4235ab31cd..8cbe686e71839b 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -3722,7 +3722,7 @@ rb_convert_to_BigDecimal(VALUE val, size_t digs, int raise_exception) * - Other type: * * - Raises an exception if keyword argument +exception+ is +true+. - * - Returns +nil+ if keyword argument +exception+ is +true+. + * - Returns +nil+ if keyword argument +exception+ is +false+. * * Raises an exception if +value+ evaluates to a Float * and +digits+ is larger than Float::DIG + 1.