[前][次][番号順一覧][スレッド一覧]

ruby-changes:30341

From: nobu <ko1@a...>
Date: Tue, 6 Aug 2013 16:04:13 +0900 (JST)
Subject: [ruby-changes:30341] nobu:r42395 (trunk): string.c: fix typo

nobu	2013-08-06 16:04:00 +0900 (Tue, 06 Aug 2013)

  New Revision: 42395

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42395

  Log:
    string.c: fix typo
    
    * string.c (rb_str_ellipsize): [DOC] fix typo, "encoding" instead of
      "encoded" which is probably a slip of the auto-completion.

  Modified files:
    trunk/string.c
_______________________________________________
ruby-cvs mailing list
ruby-cvs@r...
http://lists.ruby-lang.org/cgi-bin/mailman/listinfo/ruby-cvs
Index: string.c
===================================================================
--- string.c	(revision 42394)
+++ string.c	(revision 42395)
@@ -7846,7 +7846,7 @@ rb_str_is_ascii_only_p(VALUE str) https://github.com/ruby/ruby/blob/trunk/string.c#L7846
  * \pre 	_len_ must not be negative.
  * \post	the length of the returned string in characters is less than or equal to _len_.
  * \post	If the length of _str_ is less than or equal _len_, returns _str_ itself.
- * \post	the encoded of returned string is equal to the encoded of _str_.
+ * \post	the encoding of returned string is equal to the encoding of _str_.
  * \post	the class of returned string is equal to the class of _str_.
  * \note	the length is counted in characters.
  */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]