From d81c919443f73767747e427acb6229cbdeea54e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=BE=A4?= <517067180@qq.com> Date: Sun, 9 Jun 2024 12:31:09 +0800 Subject: [PATCH] docs: Fix a typo in the example usage in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 893ad51..62be04d 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ const hexHash = Rusha.createHash().update('I am Rusha').digest('hex'); const hash = Rusha.createHash(); hash.update('I am'); hash.update(' Rusha'); -const hexHash = rusha.digest('hex'); +const hexHash = hash.digest('hex'); ``` #### Reference