[ruby/digest] [DOC] Update document to use rb_digest_make_metadata

https://github.com/ruby/digest/commit/c5c1debd43
This commit is contained in:
Nobuyoshi Nakada 2024-06-08 00:49:37 +09:00 committed by git
parent 0619312bb5
commit bf95a17c84

View File

@ -534,7 +534,7 @@ rb_digest_class_init(VALUE self)
*
*
* rb_ivar_set(cDigest_SHA1, rb_intern("metadata"),
* Data_Wrap_Struct(0, 0, 0, (void *)&sha1));
* rb_digest_make_metadata(&sha1));
*/
#ifdef DIGEST_USE_RB_EXT_RESOLVE_SYMBOL