summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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 ae60c4f467..749efaf720 100644
--- a/ext/json/generator/generator.c
+++ b/ext/json/generator/generator.c
@@ -1096,7 +1096,7 @@ static VALUE cState_generate(VALUE self, VALUE obj)
* generated, otherwise an exception is thrown, if these values are
* encountered. This options defaults to false.
* * *ascii_only*: true if only ASCII characters should be generated. This
- * ontions defaults to false.
+ * option defaults to false.
* * *buffer_initial_length*: sets the initial length of the generator's
* internal buffer.
*/