summaryrefslogtreecommitdiff
path: root/ext/json/generator
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-23 03:43:58 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-23 03:43:58 +0000
commit6604e1b7cd75bef7ed72db699d8f88a7fb56c330 (patch)
treeb92ad3bacaa1f7f54152af362decaadc30466617 /ext/json/generator
parentf22ffd83e92a214a697e93fe715d29cbfa52084d (diff)
Merge json-2.2.0 from flori/json.
https://github.com/flori/json/releases/tag/v2.2.0 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json/generator')
-rw-r--r--ext/json/generator/generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/generator/generator.c b/ext/json/generator/generator.c
index f061267f0d3..6b3cdd7e580 100644
--- a/ext/json/generator/generator.c
+++ b/ext/json/generator/generator.c
@@ -1267,7 +1267,7 @@ static VALUE cState_allow_nan_p(VALUE self)
/*
* call-seq: ascii_only?
*
- * Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise
+ * Returns true, if only ASCII characters should be generated. Otherwise
* returns false.
*/
static VALUE cState_ascii_only_p(VALUE self)