summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorHoNooD <honood@gmail.com>2023-03-18 01:04:28 +0800
committergit <svn-admin@ruby-lang.org>2023-04-08 18:54:01 +0000
commit671cfc20000db024f2aeaf602b1a77895c819abc (patch)
treeaa8da556cc001b98b7b07bb4a5fdd8d9f4dee3a1 /ext
parent8ec95c6074e3bff60001c4792db63747b4a12e89 (diff)
downloadruby-671cfc20000db024f2aeaf602b1a77895c819abc.tar.gz
[ruby/bigdecimal] fix: typo in document comments of `f_BigDecimal` function
https://github.com/ruby/bigdecimal/commit/13abe1fd78
Diffstat (limited to 'ext')
-rw-r--r--ext/bigdecimal/bigdecimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 07fc4235ab..8cbe686e71 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.