[ruby-cvs:69272] mame:r62091 (trunk): string.c (rb_str_format_m): Fix the example code of the doc

mame at ruby-lang.org mame at ruby-lang.org
Mon Jan 29 17:40:22 JST 2018


mame	2018-01-29 17:40:22 +0900 (Mon, 29 Jan 2018)

  New Revision: 62091

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62091

  Log:
    string.c (rb_str_format_m): Fix the example code of the doc
    
    Change `%08x` to `%016x` because of two reasons:
    
    * `%016x` demonstrates that we can use two or more digits here.
    * Currently, many people uses 64-bit environment.
      (I'm unsure if object_id is a good example here, though...)
    I'm unsure if

  Modified files:
    trunk/string.c


More information about the ruby-cvs mailing list