[ruby/bigdecimal] fix: typo in document comments of f_BigDecimal function

https://github.com/ruby/bigdecimal/commit/13abe1fd78
This commit is contained in:
HoNooD 2023-03-18 01:04:28 +08:00 committed by git
parent 8ec95c6074
commit 671cfc2000

View File

@ -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.