Skip to content

Commit

Permalink
change .hexdigest to .digest for wanted output example (#4993)
Browse files Browse the repository at this point in the history
* change wrong example in comment

* change .hexdigest to .digest
  • Loading branch information
Rubi Jihantoro authored and RX14 committed Sep 21, 2017
1 parent 355cbc8 commit 88da972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/digest/base.cr
Expand Up @@ -12,7 +12,7 @@ abstract class Digest::Base
# method available. Returns the resulting digest afterwards.
#
# ```
# digest = Digest::MD5.hexdigest do |ctx|
# digest = Digest::MD5.digest do |ctx|
# ctx.update "f"
# ctx.update "oo"
# end
Expand Down

0 comments on commit 88da972

Please sign in to comment.