diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-30 08:32:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-30 08:32:37 +0000 |
commit | c16523e67b4d8873168f7cb21a1dd35484247d22 (patch) | |
tree | 39ec08f835da102889dc6bab2c8f3422f1c641ea /encoding.c | |
parent | 822c3999d0b47c6cf13eb6338489d4e8681ce774 (diff) |
encoding.c: fix document [ci skip]
* encoding.c (rb_enc_unicode_p): fix document. predicate
functions may return non-zero values other than 1 as true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r-- | encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c index 298ff0f1b5..59784673e3 100644 --- a/encoding.c +++ b/encoding.c @@ -505,7 +505,7 @@ enc_ascii_compatible_p(VALUE enc) } /* - * Returns 1 when the encoding is Unicode series other than UTF-7 else 0. + * Returns non-zero when the encoding is Unicode series other than UTF-7 else 0. */ int rb_enc_unicode_p(rb_encoding *enc) |