Skip to content

Commit bf95a17

Browse files
nobumatzbot
authored andcommitted
[ruby/digest] [DOC] Update document to use rb_digest_make_metadata
ruby/digest@c5c1debd43
1 parent 0619312 commit bf95a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/digest/digest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ rb_digest_class_init(VALUE self)
534534
*
535535
*
536536
* rb_ivar_set(cDigest_SHA1, rb_intern("metadata"),
537-
* Data_Wrap_Struct(0, 0, 0, (void *)&sha1));
537+
* rb_digest_make_metadata(&sha1));
538538
*/
539539

540540
#ifdef DIGEST_USE_RB_EXT_RESOLVE_SYMBOL

0 commit comments

Comments
 (0)