From 3ca34702204223a414f40859436025e6a275b4d0 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 30 Aug 2015 08:32:37 +0000 Subject: 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 --- encoding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'encoding.c') 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) -- cgit v1.2.3