summaryrefslogtreecommitdiff
path: root/std/hash
diff options
context:
space:
mode:
authorTrivikram Kamat <16024985+trivikr@users.noreply.github.com>2020-10-03 13:19:11 -0700
committerGitHub <noreply@github.com>2020-10-04 07:19:11 +1100
commitd0eb179132c60a7c2513c9d19db03e3d5ca00c70 (patch)
tree627339e0dc2212ed861184d46b6af31605224d24 /std/hash
parent391eed42f41bd277fff936192b474bfd52eaa1a0 (diff)
docs: end sentences with a period in markdown (#7813)
Diffstat (limited to 'std/hash')
-rw-r--r--std/hash/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/hash/README.md b/std/hash/README.md
index 1716f0ffc..3000cbd05 100644
--- a/std/hash/README.md
+++ b/std/hash/README.md
@@ -23,7 +23,7 @@ import { createHash } from "https://deno.land/std/hash/mod.ts";
const hash = createHash("md5");
hash.update("Your data here");
-const final = hash.digest(); // returns ArrayBuffer
+const final = hash.digest(); // returns ArrayBuffer.
```
Please note that `digest` invalidates the hash instance's internal state.
@@ -34,8 +34,8 @@ import { createHash } from "https://deno.land/std/hash/mod.ts";
const hash = createHash("md5");
hash.update("Your data here");
-const final1 = hash.digest(); // returns ArrayBuffer
-const final2 = hash.digest(); // throws Error
+const final1 = hash.digest(); // returns ArrayBuffer.
+const final2 = hash.digest(); // throws Error.
```
If you need final hash in string formats, call `toString` method with output