summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorSizhe Zhao <prc.zhao@outlook.com>2022-02-15 06:15:59 +0800
committerGitHub <noreply@github.com>2022-02-14 22:15:59 +0000
commitb2c5d7b4ff070abe2145e998d090fb15b4df522f (patch)
tree6655d324eaf1525dc7f0aadec89e9247da347f25 /lib
parent2ef71c0a46b2209c906921f10f585306ce6199cc (diff)
downloadNim-b2c5d7b4ff070abe2145e998d090fb15b4df522f.tar.gz
Documentation: Fix word usage (#19529)
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/base64.nim4
-rw-r--r--lib/pure/hashes.nim2
-rw-r--r--lib/pure/md5.nim4
-rw-r--r--lib/std/sha1.nim4
4 files changed, 7 insertions, 7 deletions
diff --git a/lib/pure/base64.nim b/lib/pure/base64.nim
index 513ec5826..9b7af88ef 100644
--- a/lib/pure/base64.nim
+++ b/lib/pure/base64.nim
@@ -56,8 +56,8 @@ runnableExamples:
 ## ========
 ##
 ## * `hashes module<hashes.html>`_ for efficient computations of hash values for diverse Nim types
-## * `md5 module<md5.html>`_ implements the MD5 checksum algorithm
-## * `sha1 module<sha1.html>`_ implements a sha1 encoder and decoder
+## * `md5 module<md5.html>`_ for the MD5 checksum algorithm
+## * `sha1 module<sha1.html>`_ for the SHA-1 checksum algorithm
 
 template cbBase(a, b): untyped = [
   'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
diff --git a/lib/pure/hashes.nim b/lib/pure/hashes.nim
index d9f534670..47dacec7d 100644
--- a/lib/pure/hashes.nim
+++ b/lib/pure/hashes.nim
@@ -62,7 +62,7 @@ runnableExamples:
 ## ========
 ## * `md5 module <md5.html>`_ for the MD5 checksum algorithm
 ## * `base64 module <base64.html>`_ for a Base64 encoder and decoder
-## * `std/sha1 module <sha1.html>`_ for a SHA-1 encoder and decoder
+## * `std/sha1 module <sha1.html>`_ for the SHA-1 checksum algorithm
 ## * `tables module <tables.html>`_ for hash tables
 
 import std/private/since
diff --git a/lib/pure/md5.nim b/lib/pure/md5.nim
index 06c5608a4..cd4d1e6b8 100644
--- a/lib/pure/md5.nim
+++ b/lib/pure/md5.nim
@@ -13,8 +13,8 @@
 ##
 ## See also
 ## ========
-## * `base64 module<base64.html>`_ implements a Base64 encoder and decoder
-## * `std/sha1 module <sha1.html>`_ for a SHA-1 encoder and decoder
+## * `base64 module<base64.html>`_ for a Base64 encoder and decoder
+## * `std/sha1 module <sha1.html>`_ for the SHA-1 checksum algorithm
 ## * `hashes module<hashes.html>`_ for efficient computations of hash values
 ##   for diverse Nim types
 
diff --git a/lib/std/sha1.nim b/lib/std/sha1.nim
index 120a81702..ed962707b 100644
--- a/lib/std/sha1.nim
+++ b/lib/std/sha1.nim
@@ -12,9 +12,9 @@
 ##
 ## See also
 ## ========
-## * `base64 module<base64.html>`_ implements a Base64 encoder and decoder
+## * `base64 module<base64.html>`_ for a Base64 encoder and decoder
 ## * `hashes module<hashes.html>`_ for efficient computations of hash values for diverse Nim types
-## * `md5 module<md5.html>`_ implements the MD5 checksum algorithm
+## * `md5 module<md5.html>`_ for the MD5 checksum algorithm
 
 runnableExamples:
   let accessName = secureHash("John Doe")