summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSho Hashimoto <sho.hsmt@gmail.com>2019-01-08 00:34:39 +0900
committerSho Hashimoto <sho.hsmt@gmail.com>2019-01-08 00:34:39 +0900
commit5dcc4617a5263ea7ef418c4e41e92c6af167c3f5 (patch)
treea4e1b765351800aa404a0a3045fd95357cab016c
parentfd6f86f5d9b5497c03c562139d16a65fe07397fb (diff)
downloadjson-5dcc4617a5263ea7ef418c4e41e92c6af167c3f5.tar.gz
fix JSON::Generator::State#ascii_only? document same as lib/json/pure/generator.rb.
-rw-r--r--ext/json/ext/generator/generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c
index 2bf8074..a15f653 100644
--- a/ext/json/ext/generator/generator.c
+++ b/ext/json/ext/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)